Configuration error

D

Dan

Can anyone tell me what to do about this? I tried "true" and "false". Get
same error message. Thanks

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='MachineOnly' beyond machine.config.

Source Error:

Line 11: debugging ASP.NET files.
Line 12: -->
Line 13: <compilation defaultLanguage="vb" debug="false" />
Line 14:
Line 15: <!-- CUSTOM ERROR MESSAGES

Source File: d:\webs\dsull3\genealogyweb\web.config Line: 13
 
K

Kevin Spencer

You can change "true" and "false" all day long, and it won't accomplish
anything. The error message indicates that you are using a config file in a
subfolder of your web app, and that the config file (web.config) has
sections in it which are "MachineOnly" sections. They should not be there.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.
 
D

Dan

OK but I am still lost. I did add a database connection string to the
WebConfig file which includes
.....Data Source=c:\genealogyweb\genealogytables.mdb"

I am sure that I need to change this when I publish the site. Is this the
problem? What do I change it to? just "genealogytables.mdb"?

Thanks for the help.

dan
 
J

Jens Peter Karlsen[FP MVP]

This error usually comes because the virtual directory isn't set to be
an asp.net application. You do this with the IIS manager.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
 
D

Dan

Lots of good stuff but I still don't see how to build the connection string
on the remote website.

dan

============================
 
D

Dan

Re: Configuration errorAlready done on my machine but I don't know about the remote website........have to look into that. Thanks
This error usually comes because the virtual directory isn't set to be an asp.net application. You do this with the IIS manager.

Regards Jens Peter Karlsen. Microsoft MVP - Frontpage.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top