I'm moving some code help

R

Rafael Tejera

I'm moving some code from my old pc. I'm using VS NET 2003 C# and MSSQL 2003. Everything is in place, but I'm receiving this error messages.

thansk for you help...



Here is the 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 39: by Microsoft that offers a single logon and core profile services for member sites.
Line 40: -->
Line 41: <authentication mode="Windows" />
Line 42:
Line 43: <!-- AUTHORIZATION

Source File: c:\inetpub\wwwroot\application1\web.config Line: 41
 
M

Mel

You need to create your virtual directory is IIS.


I'm moving some code from my old pc. I'm using VS NET 2003 C# and MSSQL 2003. Everything is in place, but I'm receiving this error messages.

thansk for you help...



Here is the 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 39: by Microsoft that offers a single logon and core profile services for member sites.
Line 40: -->
Line 41: <authentication mode="Windows" />
Line 42:
Line 43: <!-- AUTHORIZATION

Source File: c:\inetpub\wwwroot\application1\web.config Line: 41
 
R

Rafael Tejera

I did create the Virtual directory.

What else I can try?


Rafael

You need to create your virtual directory is IIS.


I'm moving some code from my old pc. I'm using VS NET 2003 C# and MSSQL 2003. Everything is in place, but I'm receiving this error messages.

thansk for you help...



Here is the 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 39: by Microsoft that offers a single logon and core profile services for member sites.
Line 40: -->
Line 41: <authentication mode="Windows" />
Line 42:
Line 43: <!-- AUTHORIZATION

Source File: c:\inetpub\wwwroot\application1\web.config Line: 41
 
K

Kevin Spencer

Is the virtual directory configured as an application?

--
HTH,

Kevin Spencer
Microsoft MVP
Chicken Salad Surgery

What You Seek Is What You Get.

I did create the Virtual directory.

What else I can try?


Rafael

You need to create your virtual directory is IIS.


I'm moving some code from my old pc. I'm using VS NET 2003 C# and MSSQL
2003. Everything is in place, but I'm receiving this error messages.

thansk for you help...



Here is the 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 39: by Microsoft that offers a single logon and core profile
services for member sites.
Line 40: -->
Line 41: <authentication mode="Windows" />
Line 42:
Line 43: <!-- AUTHORIZATION

Source File: c:\inetpub\wwwroot\application1\web.config Line: 41
 
R

Rafael Tejera

Now I'm receiving this error:


Server Error in '/myapp' Application.
--------------------------------------------------------------------------------

Security Exception
Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file.

Exception Details: System.Security.SecurityException: Requested registry access is not allowed.

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.


Stack Trace:


[SecurityException: Requested registry access is not allowed.]
Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable) +473
System.Diagnostics.EventLog.CreateEventSource(String source, String logName, String machineName, Boolean useMutex) +443
System.Diagnostics.EventLog.WriteEntry(String message, EventLogEntryType type, Int32 eventID, Int16 category, Byte[] rawData) +347
System.Diagnostics.EventLog.WriteEntry(String message, EventLogEntryType type, Int32 eventID, Int16 category) +21
System.Diagnostics.EventLog.WriteEntry(String message, EventLogEntryType type, Int32 eventID) +15
System.Diagnostics.EventLog.WriteEntry(String message, EventLogEntryType type) +11
MedWeb_CCHD.defaultform.bnLogon_Click(Object sender, EventArgs e) +3651
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +58
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain() +2112
System.Web.UI.Page.ProcessRequest() +218
System.Web.UI.Page.ProcessRequest(HttpContext context) +18
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication+IExecutionStep.Execute() +179
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +87





--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET Version:1.1.4322.2300




Sincerely,



Rafael

Is the virtual directory configured as an application?

--
HTH,

Kevin Spencer
Microsoft MVP
Chicken Salad Surgery

What You Seek Is What You Get.

I did create the Virtual directory.

What else I can try?


Rafael

You need to create your virtual directory is IIS.


I'm moving some code from my old pc. I'm using VS NET 2003 C# and MSSQL
2003. Everything is in place, but I'm receiving this error messages.

thansk for you help...



Here is the 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 39: by Microsoft that offers a single logon and core profile
services for member sites.
Line 40: -->
Line 41: <authentication mode="Windows" />
Line 42:
Line 43: <!-- AUTHORIZATION

Source File: c:\inetpub\wwwroot\application1\web.config Line: 41
 

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