.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Gaurav Pal
Post New Web Links

MS Char + Godaddy

Posted By:      Posted Date: September 18, 2010    Points: 0   Category :ASP.Net
Hi, I was trying to add Ms Chart control on my godaddy windows hosting. at local the chart control is working good but i think there is some trust level issue with MSChart control at godaddy server. Is there any other free control available which has features like MSChart and also can work on godaddy environment.or Somhow can i use the dll provided in MSChart control [ "System.Web.DataVisualization.Design.dll" and " System.Web.DataVisualization.dll"] at godaddy environment. means if i can get source code or something like this.Thanks in advance

View Complete Post

More Related Resource Links

Setting the default start page in godaddy hosting?


 How do you set the start page with godaddy hosting? I can see no way of doing this! You do not seem to have access to the IIS settings that allow you to change it!

Required permissions cannot be acquired when host asp.net 3.5 application in godaddy


I got the following error when click print report button.

Application : asp.net 3.5

Crystal report : 10.5

Host: godaddy

Please help me.


Required permissions cannot be acquired.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.Security.Policy.PolicyException: Required permissions cannot be acquired.

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Invalid length for a Base-64 char array for my coding in ASP.net C#. How to solve it ?


Hi Friends ,

I have done encrypted password and decode but i got error  like  this  " Invalid length for a Base-64 char array" .

Pls help . Thanks


psswd = txtPassword.Text;

pwed = base64Decode(psswd);

public string base64Decode(string sData)
            System.Text.UTF8Encoding encoder = new System.Text.UTF8Encoding();
            System.Text.Decoder utf8Decode = encoder.GetDecoder();
            byte[] todecode_byte = Convert.FromBase64String(sData);
            int charCount = utf8Decode.GetCharCount(todecode_byte, 0, todecode_byte.Length);
            char[] decoded_char = new char[charCount];
            utf8Decode.GetChars(todecode_byte, 0, todecode_byte.Length, decoded_char, 0);
            string result = new String(decoded_char); return result;

insufficient result space to convert uniqueidentifier value to char


Hi guys,

       Look, I've been trying to insert new values while I create a new user with a createuserwizard, but I've been getting this error over and over again:

"insufficient result space to convert uniqueidentifier value to char"

       The code that does it is the following:

  protected void CreateUserWizard1_CreatedUser(object sender, EventArgs e)
TextBox UserNameTextBox = (TextBox)CreateUserWizardStep2.ContentTemplateContainer.FindControl("UserName");

SqlDataSource DataSource = (SqlDataSource)CreateUserWizardStep2.ContentTemplateContainer.FindControl("InsertExtraInfo");

MembershipUser User = Membership.GetUser(UserNameTextBox.Text);

object UserGUID = User.ProviderUserKey;

DataSource.InsertParameters.Add("UserId", UserGUID.ToString());


      But when I debug, the error is thrown before reaching the previous code, so I suppose the error is in the SqlDataSource, look:

      <asp:SqlDataSource ID="InsertExtraInfo" runat="server" Co

Info Path form when modified by using UTF-8 encoding having issues with existing 'iso-8859-1' char



I am modifying the infio path form 2007 from my state machine workflow to constantly update the status fields in the request form.

below is the method i created for the same..

private void updateInfoPathRequestForm(string xpathNode, string nodeValue)
            SPUserToken token = workflowProperties.Web.CurrentUser.UserToken;
            using (SPSite _site = new SPSite(workflowProperties.Site.ID, token))
                _site.AllowUnsafeUpdates = true;
                using (SPWeb _web = _site.OpenWeb(workflowProperties.Web.ID))
                    SPListItem item = _web.Lists[workflowProperties.List.ID].Items[workflowProperties.Item.UniqueId];

send email using Godaddy server by gmail


 Hello ,


My site is hosted  in Godaddy server. And i am using google apps for emailing a/c for that i have changed the  MX-records and then it is working fine.

Then i finished my web site


it is working fine there .

in the site there is a  contactus link which opens


this page basically should send a mail to a particular email id .

for sending mail I am using gmail a/c . (Here is the full code)


public void SendEmail(string From,string GmailEmail, string GmailPassword, string To, string Subject, string Body,      
        FileUpload fileupload)

        System.Net.Mail.MailMessage mail = new System.Net.Mail.MailMessage();
        mail.From = new MailAddress(From, "One Ghost", System.Text.Encoding.UTF8);
        mail.Subject = Subject;
        mail.SubjectEncoding = System.Text.Encoding.UTF8;

WCF REST webservice authentication error when hosted with godaddy

Hi guys, I'm currently hosting my site on a shared windows hosting box with Godaddy. I have upgraded my hosting account to .NET 3.5 and having IIS7 as well which is in integrated pipeline mode. I recently build a simple WCF web service using the REST started kit preview 2. Once i uploaded it to the server, I am getting this error"IIS specified authentication schemes 'Basic, Anonymous', but the binding only supports specification of exactly one authentication scheme. Valid authentication schemes are Digest, Negotiate, NTLM, Basic, or Anonymous. Change the IIS settings so that only a single authentication scheme is used." You can see it here:http://sawasdeethaiart.com/service.svcThe obvious fix for as i have read from various websites, is to make sure I configure my IIS to have either Basic or Anonymous specification enabled. But as i am on a shared hosting account, i dont have any access to do this. (I have checked all my options in the IIS hosting panel, but there is no option). I am also done this in my web.config<authentication mode="None"></authentication> Is there any other option I can add  to my web.config to overcome this? or is there any other fix for this? Any help will be greatly appreciated. Thanks,Mark  

WCF on GoDaddy - Compiler doesn't recognize [OperationContract]

I've created a bare-bones WCF service (with just the default DoWork method in order to simplify things) and it compiles and runs just fine on my local computer running Visual Studio. When I deploy the service to my GoDaddy server, I get the following error. Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: CS0246: The type or namespace name 'OperationContract' could not be found (are you missing a using directive or an assembly reference?) Source Error: Line 10: public interface IShtibLuachWcfService Line 11: { Line 12: [OperationContract] Line 13: void DoWork(); Line 14: [OperationContract] Source File: d:\hosting\4541103\html\App_Code\IShtibLuachWcfService.cs Line: 12 Show Detailed Compiler Output: C:\Windows\SysWOW64\inetsrv> "C:\Windows\Microsoft.NET\Framework\v3.5\csc.exe" /t:library /utf8output /R:"C:\Windows\assembly\GAC_MSIL\System.Xml\\System ..Xml.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Web.Services\ 3a\System.Web.Services.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Drawing\\Sy stem.Drawing.dll" /R:"C:\Windows\assembly\GAC_MSIL\System.Co

WCF GoDaddy Account

Hello,I have a WCF service which I have deployed on a GoDaddy account.  All of the service functions seem to work correctly except for one of them.This function has the operation contract:       [OperationContract]        [WebGet(RequestFormat = WebMessageFormat.Json,            ResponseFormat = WebMessageFormat.Json,             BodyStyle = WebMessageBodyStyle.Wrapped,            UriTemplate = "GetLocations/{location}")]        List<Location> GetLocations(string location);        [OperationContract(AsyncPattern = true)]        IAsyncResult BeginGetLocations(string location, AsyncCallback callback, object state);        List<Location> EndGetLocations(IAsyncResult result);Most of the other functions follow the same pattern, except they return simple data types, such as int or double.  However, this one when executed on GoDaddy returns no data.  It simply looks like the Web page is doing something, and then says done.  Now, I've tested and debugged it on my local machine, and everything works perfectly.I know GoDaddy has had some missing configuration settings, and other things that needed to be set up for WCF to work, and to my knowledge I have done everything.I think that maybe this issue is occurring because a generic list is being returned (which is serialized as an array) instead of a simple data type.  Perhaps GoDaddy is missing another configuration

GoDaddy + WCF REST Service

I am newbie when it comes to developing a WCF REST Service. I have been reading up and have worked through hands-on labs/watched videos by Ron Jacobs to help me get a hold of WCF REST.  I have had no problems running my web service on my localhost. However it is now time to upload my "WCF Service Application" (not WCF Library) to GoDaddy's servers and this is where I am running into issues. As per Ron Jacobs tutorials I have removed my endpoints from my web.config file and the markup code in my .svc file now reads: <%@ ServiceHost Language="C#" Debug="true" Service="DealService.Service" CodeBehind="Service.svc.cs" Factory="System.ServiceModel.Activation.WebServiceHostFactory"%> I proceeded to compile and then upload my code to GoDaddy and now am trying to access the web service, but am receiving the following error: Server Error in '/' Application. Parser Error Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.  Parser Error Message: The CLR Type 'System.ServiceModel.Activation.WebServiceHostFactory' could not be loaded during service compilation. Verify that this type is either defined in a source file located in the application's \App

GoDaddy - Security Exception

Hi guys!GoDaddy is playing with my emotions! I got the Security exception error when connecting to MySQL database. I followed the steps suggested by the GoDaddy support on this forum at http://forums.asp.net/t/999456.aspx?PageIndex=1 but I still have the exception!i downloaded the latest version of the data connector, added the [assembly: AllowPartiallyTrustedCallers] to the AssemblyInfo.cs, built the solution again, put the generated dll in a Bin folder on my website, ran it and nothing happend Have I done something wrong?I'm pissed because they posted the solution here and when I sent them an email asking for support they said "The error you are encountering is due to the Trust Level that is set on shared server hosting. Your program is attempting to use Full Trust settings, however, shared hosting is set at Medium. In order to have Full Trust enabled you will need to move up to a Virtual Dedicated Server."That's redicolous!!!! Do this DLL thing work for real?This is my code, in case you have some doubts of what I am doing. <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataKeyNames="DKName" DataSourceID="SqlDataSource1"> <Columns> <asp:BoundField DataField="data2" HeaderText=&

Passing Parameters dynamicall to a Pie Char

Hi All, I am just done with an interview on SSRS Developer. I was asked how would you do design a report if there are 35 departments? Each time the report should run for each time. He wanted all the departments in one single report. I am sure there is a way we can do this. But I am not sure how? Any help would be appreciated. Thanks Tinku  

reporing services ... truncate char

Hi! How Can I truncate the first 7 char of a field that I've inserted in a reporting services report? =First(Fields!NumeroFattura.Value, "Documento") I would like to truncate the first 7 char of Fields!NumeroFattura.Value Thanks  


Hi Folks, I downloaded SQL 2008 and installed recently.Everything perfectly works except one thing that I can't use VARCHAR AND CHAR data types anymore.I was using SQL 2005 and I had the same problem there as well. Please helpe to solve this problem

Function display char count

I want to know the meaning of function DisplayCharCount, span Counter ,documents.form[0],RegisterClientScriptBlock and Bolded line in the following programm and also let me know what is happening in this programm if(checkDisplayCount.Checked) {string scriptText="";scriptText+="function DisplayCharCount(){";scriptText+="spanCounter.innerText="+"document.forms[0].TextBox1.value.Length";scripttext+="}";ClientScript.RegisterClientScriptBlock(this.GetType(),"CounterScript",scriptText,true);TextBox1.Attributes.Add("onkeyup","DisplayCharCount()");LiteralControl("<span id=\"spanCounter\"></span>");PlaceHolder1.Controls.Add(spanLiteral);}}    

Help to resolve an error "The conversion of a char data type to a datetime data type resulted in an

Why am I getting an error when executing this: select convert(datetime, '2010-09-12T18:11:48', 120) The message is: "Msg 242, Level 16, State 3, Line 1 The conversion of a char data type to a datetime data type resulted in an out-of-range datetime value." I don’t get the error if I remove “T” from the string. But I need it to work with “T”.

GoDaddy Hosting Issue

I am very new to this... I created a very simple website using a .master file and I have the navigation linked to my sitemap (all through Microsoft Expression Web). When I open the site through the development server everything works OK, but when I look at the live website on Godaddy, the sitemap path (bread crumbs) do not show up on any pages that are indented beyond the root. www.team300.com This is my sitemap<?xml version="1.0" encoding="utf-8" ?> <siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" > <siteMapNode url="Default.aspx" title="Home" description="Team300"> <siteMapNode url="About.aspx" title="About Us" description="About Us" /> <siteMapNode url="Listings.aspx" title="Real Estate Listings" description="Listings" /> <siteMapNode url="\Services.aspx" title="Services" description="Contact Us" > <siteMapNode url="\Buyers.aspx" title="Buyers" description="Contact Us" /> <siteMapNode url="\Sellers.aspx" title="Sellers" description="Contact Us" /> <siteMapNode url="\Asset_Managers.aspx" title="Asset Managers" description="Contact Us" />
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend