PDA

Bekijk Volledige Versie : probleem website na eport vmware



scooke
25/04/09, 07:38
Hallo,

Om een aantal tests te doen op een virtuele webserver, heb ik deze geexporteerd vanuit vmware esx, en daarna in vmware server geimorteerd. Alles werkt perfect, behalve de website gemaakt in aspx. Er draaien ook een aantal php websites icm mysql maar hier zijn geen problemen mee. Op de esx waar de originele website in productie draaien, werken de aspx website zonder problemen.
Wat zou er mis kunnen zijn, het enige wat er verschilt tov de esx is dat het ipadres verandert is.
En omdat ik dacht dat ik via het originele ipadres de website misschien bereikbaar zou zijn (thuis werk ik met 192.168.x.x, op het werk met 10.189.x.x), heb ik op via de prompt
dit commando set devmgr_show_nonpresent_devices=1 ingegeven, er was blijkbaar nog een verborgen nic met hetzelfde ip.
Via devmgmt.msc heb ik dan de nic verwijdert om dus het ip confilct met de verborgen nic op te lossen.
In hoeverre dit natuurlijk iets met onderstaande foutmelding te maken heeft weet ik natuurlijk niet...
De foutmeling die ik krijg:

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

Kan opgegeven procedure niet vinden. (Exception from HRESULT: 0x8007007F)
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.Runtime.InteropServices.COMException: Kan opgegeven procedure niet vinden. (Exception from HRESULT: 0x8007007F)

Source Error:

The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated the error. Example:

<%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your application:

<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>

Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.

Stack Trace:


[COMException (0x8007007f): Kan opgegeven procedure niet vinden. (Exception from HRESULT: 0x8007007F)]

[FileLoadException: A procedure imported by 'System.Data, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' could not be loaded.]
_Default..ctor() +0
ASP.Default_aspx..ctor() +29
__ASP.FastObjectFactory.Create_ASP_Default_aspx() +38
System.Web.Compilation.BuildResultCompiledType.Cre ateInstance() +49
System.Web.UI.PageHandlerFactory.GetHandler(HttpCo ntext context, String requestType, String virtualPath, String path) +340
System.Web.HttpApplication.MapHttpHandler(HttpCont ext context, String requestType, String path, String pathTranslated, Boolean useAppConfig) +718
System.Web.MapHandlerExecutionStep.System.Web.Http Application.IExecutionStep.Execute() +116
System.Web.HttpApplication.ExecuteStep(IExecutionS tep step, Boolean& completedSynchronously) +155




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50215.44; ASP.NET Version:2.0.50215.44