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.
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.