I have downloaded the personal website starter kit and have followed the instructions provided by Godaddy for "creating an asp.net 2.0 personal web site", but its still not working.
I think there is an error in my web.config file and below is the debug message I'm getting when I try to run the site.
Line 5: Sub Application_Start(ByVal sender As [Object], ByVal e As EventArgs) Line 6: AddHandler SiteMap.SiteMapResolve, AddressOf Me.AppendQueryString Line 7: If (Roles.RoleExists("Administrators") = False) Then Line 8: Roles.CreateRole("Administrators") Line 9: End If
Source File: C:\Documents and Settings\Michael Montgomery\My Documents\Visual Studio 2005\WebSites\MichaelsView\global.asax Line:
7
Hi! Sorry to hear of your problem but relieved that I am not the only one. I have been researching this in the archives and there are several strings indicating that using the Personal website starter kit is problemataic with Godaddy.
I am at the same point in the process as you. I have tried to manually load some user data into the database - no luck.
I have tried to insert data with sql statements - no luck.
I have tried importing via csv - no luck.
I have talked to GoDaddy tech support several times - no luck (the initial tech support people don't have a grasp of what is needed and just read from the help sections that I have already tried. Then they go talk to experts who are not helpful either.
Eventually they come back and say that they aren't supposed to be providing programming help, etc.)
I will be following this thread to see if you or anyone else has a solution to this.
Here's hoping that someone who gotten this to work will help us out.
I've had the same problem with the support at Godaddy. They gave me links to a few of their help pages which still does not work and then they also said they aren't supposed to be providing programing help and that Microsoft should be.
My opinion, if Godaddy is wanting to attract customers, they need to help us understand what is needed to be able to successfully publish our sites. Otherwise, the word will get out that people should NOT use Godaddy if you're using Visual Web Developer
2005 Express.
Now I've locked myself into a year's contract with Godaddy to get a better price and to upgrade my account to one that supports MS SQL - which I thought would enable me to publish sucessfully.
I certainly understand your frustration with GoDaddy's lack of support. I too have signed up for a year on the higher priced plan to use MS SQL with ASP.NET 2.0.
After studying some threads in a different forum where the users have apparently succeeded in getting this to work, I am trying a different approach - to get the connection string working so that I can open the "default.aspx" page online, create a user account,
and then with that data in the GoDaddy MS SQL database, I will be able to run the scripts that you cited above (which also have not worked for me to this point).
I have made adjustments to the web.config file to match the connection string data provided by GoDaddy.
When I try to run the default.aspx page online, I get this error message:
Server Error in '/' Application.
Configuration Error
Description:
An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
Source Error:
Line 33: <customErrors mode="Off"/>
Line 34:
Line 35: <authentication mode="Forms">
Line 36: <forms loginUrl="Default.aspx" protection="Validation" timeout="300"/>
Line 37: </authentication>
Can anyone help me understand what this means and how to fix it?
For what it's worth, I have been able to create simple databases via GoDaddy that work (i.e., simple gridviews that allow me to insert, edit, delete data online). So I have had some success with MS SQL databases hosted by GoDaddy. Getting the login to
work with the Personal Web Site Kit has been a real challenge and I hope to get this accomplished with some help.
Guys, I am sorry to hear you are both having trouble getting your site up. I was only able to get mine up and running just last night after a week and 2 hosts later. I found this article, I followed the steps
to the letter and it worked for me. I am hosting with hostingfest.com but the author of the article claims he has set up several starter kit sites on GoDaddy and webhost4life. Anyways... here is the link
http://weblogs.asp.net/bsimser/archive/2005/11/30/431896.aspx. I hope this helps.
I finally got the Personal Web Site running on GoDaddy. It wasn't a connection string issue. I pasted my error message into a question on the Visual Web Developer Express forum and got the help I needed for my problem. I had to create a Virtual Directory.
Here is the error message again:
Configuration Error
Description:
An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
Source Error:
Line 35: <customErrors mode="Off"/>
Line 36: <compilation debug="false"/>
Line 37: <authentication mode="Forms">
Line 38: <forms loginUrl="Default.aspx" protection="Validation" timeout="300" />
Line 39: </authentication>
Here is the reply that helped me solve this problem:
"Ask your hosting provider (or login to your hosted machine if possible) to make your website as an Application in IIS. This can be done (in IIS 5.0) by right clicking your virtual directory->properties->Virtual Directory tab->Create Application. So unless
your VD is configured as an Application, your site won't run."
I contacted GoDaddy and they talked me through the process of creating the Virtual Directory. This allowed the default.aspx page to load and I was able to create a user account which put some data into the database. Then I was able to run the scripts in
the GoDaddy Help files to set up administrator permissions, etc. and everything worked after that.
This may not be the same problem some others are having, but it worked for me.
mtnrunner1: I hope you get your site running soon. Thanks for the empathy and encouragement.
You are farther than me. I am new to both ASP.NET and SQL server so basically I haven't a clue as to why I am getting this message or more importantly what to do about it:
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces,
error: 26 - Error Locating Server/Instance Specified)
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.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server
does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
mtnrunner1
Member
40 Points
8 Posts
newbie - trying to publish to Godaddy
Oct 04, 2006 12:27 PM|LINK
I have downloaded the personal website starter kit and have followed the instructions provided by Godaddy for "creating an asp.net 2.0 personal web site", but its still not working.
I think there is an error in my web.config file and below is the debug message I'm getting when I try to run the site.
Source File: C:\Documents and Settings\Michael Montgomery\My Documents\Visual Studio 2005\WebSites\MichaelsView\global.asax Line: 7
The instructions I followed from Godaddy are:
To Create an ASP.NET 2.0 Personal Web Site
Any help would be appreciated. I'm at a loss as to what I need to do.
Thanks
Javier Luna
Contributor
2436 Points
592 Posts
Re: newbie - trying to publish to Godaddy
Oct 04, 2006 02:35 PM|LINK
Hi runner,
You would have to post exception type. But if it is ProviderException then role management is not enabled.
Good Coding!
Javier Luna
http://guydotnetxmlwebservices.blogspot.com/
mtnrunner1
Member
40 Points
8 Posts
Re: newbie - trying to publish to Godaddy
Oct 04, 2006 03:19 PM|LINK
Should there be a record in aspnet_Users? When I try to activate the user account using the following:
SELECT UserId FROM aspnet_Users WHERE UserName = '<username>'
It finds 0 records.
I was able to grant administrator privileges using until I get to the specific user.
SELECT RoleId FROM aspnet_Roles WHERE RoleName = 'Administrators'
1 record affected
SELECT UserId FROM aspnet_Users WHERE UserName = '<username>'
0 record affected
I haven't found any instructions for getting this record created. How/where do I do that?
Thank you.
Moonshadow
Member
529 Points
264 Posts
Re: newbie - trying to publish to Godaddy
Oct 06, 2006 12:34 PM|LINK
Hi! Sorry to hear of your problem but relieved that I am not the only one. I have been researching this in the archives and there are several strings indicating that using the Personal website starter kit is problemataic with Godaddy.
I am at the same point in the process as you. I have tried to manually load some user data into the database - no luck.
I have tried to insert data with sql statements - no luck.
I have tried importing via csv - no luck.
I have talked to GoDaddy tech support several times - no luck (the initial tech support people don't have a grasp of what is needed and just read from the help sections that I have already tried. Then they go talk to experts who are not helpful either. Eventually they come back and say that they aren't supposed to be providing programming help, etc.)
I will be following this thread to see if you or anyone else has a solution to this.
Here's hoping that someone who gotten this to work will help us out.
mtnrunner1
Member
40 Points
8 Posts
Re: newbie - trying to publish to Godaddy - Poor support from Godaddy
Oct 06, 2006 01:16 PM|LINK
I've had the same problem with the support at Godaddy. They gave me links to a few of their help pages which still does not work and then they also said they aren't supposed to be providing programing help and that Microsoft should be.
My opinion, if Godaddy is wanting to attract customers, they need to help us understand what is needed to be able to successfully publish our sites. Otherwise, the word will get out that people should NOT use Godaddy if you're using Visual Web Developer 2005 Express.
Now I've locked myself into a year's contract with Godaddy to get a better price and to upgrade my account to one that supports MS SQL - which I thought would enable me to publish sucessfully.
Frustrating situatuion for certain.
Moonshadow
Member
529 Points
264 Posts
Re: newbie - trying to publish to Godaddy - Poor support from Godaddy
Oct 06, 2006 04:25 PM|LINK
I certainly understand your frustration with GoDaddy's lack of support. I too have signed up for a year on the higher priced plan to use MS SQL with ASP.NET 2.0.
After studying some threads in a different forum where the users have apparently succeeded in getting this to work, I am trying a different approach - to get the connection string working so that I can open the "default.aspx" page online, create a user account, and then with that data in the GoDaddy MS SQL database, I will be able to run the scripts that you cited above (which also have not worked for me to this point).
I have made adjustments to the web.config file to match the connection string data provided by GoDaddy.
When I try to run the default.aspx page online, I get this error message:
Server Error in '/' Application.
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
Source Error:
Can anyone help me understand what this means and how to fix it?
For what it's worth, I have been able to create simple databases via GoDaddy that work (i.e., simple gridviews that allow me to insert, edit, delete data online). So I have had some success with MS SQL databases hosted by GoDaddy. Getting the login to work with the Personal Web Site Kit has been a real challenge and I hope to get this accomplished with some help.
cs_6505
Member
17 Points
19 Posts
Re: newbie - trying to publish to Godaddy - Poor support from Godaddy
Oct 06, 2006 04:57 PM|LINK
Guys, I am sorry to hear you are both having trouble getting your site up. I was only able to get mine up and running just last night after a week and 2 hosts later. I found this article, I followed the steps to the letter and it worked for me. I am hosting with hostingfest.com but the author of the article claims he has set up several starter kit sites on GoDaddy and webhost4life. Anyways... here is the link http://weblogs.asp.net/bsimser/archive/2005/11/30/431896.aspx. I hope this helps.
Chris
lisa1980
Member
174 Points
227 Posts
Re: newbie - trying to publish to Godaddy - Poor support from Godaddy
Oct 07, 2006 08:06 PM|LINK
I feel your pain. I was lucky to find some really cool people online that helpd me set it up and GoDaddy has this to help walk through the set.
http://help.godaddy.com/article.php?article_id=689&topic_id=&&
Moonshadow
Member
529 Points
264 Posts
Re: newbie - trying to publish to Godaddy - Poor support from Godaddy
Oct 07, 2006 09:34 PM|LINK
I finally got the Personal Web Site running on GoDaddy. It wasn't a connection string issue. I pasted my error message into a question on the Visual Web Developer Express forum and got the help I needed for my problem. I had to create a Virtual Directory. Here is the error message again:
Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.
Source Error:
Here is the reply that helped me solve this problem:
"Ask your hosting provider (or login to your hosted machine if possible) to make your website as an Application in IIS. This can be done (in IIS 5.0) by right clicking your virtual directory->properties->Virtual Directory tab->Create Application. So unless your VD is configured as an Application, your site won't run."
I contacted GoDaddy and they talked me through the process of creating the Virtual Directory. This allowed the default.aspx page to load and I was able to create a user account which put some data into the database. Then I was able to run the scripts in the GoDaddy Help files to set up administrator permissions, etc. and everything worked after that.
This may not be the same problem some others are having, but it worked for me.
mtnrunner1: I hope you get your site running soon. Thanks for the empathy and encouragement.
chance1166
Member
5 Points
2 Posts
Re: newbie - trying to publish to Godaddy
Oct 08, 2006 09:48 AM|LINK
You are farther than me. I am new to both ASP.NET and SQL server so basically I haven't a clue as to why I am getting this message or more importantly what to do about it:
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
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.Data.SqlClient.SqlException: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)