No puedo publicar sitio web con VS2005
Publicado por t3quila (2 intervenciones) el 22/05/2009 04:00:18
Hola a todos
He creado un Sitio Web en asp.net con Visual Studio 2005 y C#. Todo funciona perfectamente cuando lo ejecuto desde el Visual, pero mi problema aparece cuando intento publicar mi sitio desde el IIS. He leido en distintas paginas que para publicar con IIS debo de hacer lo siguiente:
1.- Abrir IIS
2.- Me dirijo a Sitios Web Predeterminados y creo un directorio virtual
3.- La ruta de la carpeta es C:/Inetpub/wwwroot/sitioWeb Donde "sitioWeb" es el nombre de mi directorio virtual
4.- En visual studio, click derecho a nombre de proyecto y click en publicar, despues se crea una carpeta en mi proyecto con los archivos necesarios para publicar mi sitio
5.-Copio los archivos y los paso a mi directorio virtual, en este caso sitioWeb
6.- Abrir explorador y checar
Bueno esto es lo que hago para publicar en IIS pero aparece el siguiente error:
Server Error in '/carikoWeb' Application.
Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.
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:
[NullReferenceException: Object reference not set to an instance of an object.]
_Default.Page_Load(Object sender, EventArgs e) +121
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
Agradeceria mucho cualquier ayudaaa
He creado un Sitio Web en asp.net con Visual Studio 2005 y C#. Todo funciona perfectamente cuando lo ejecuto desde el Visual, pero mi problema aparece cuando intento publicar mi sitio desde el IIS. He leido en distintas paginas que para publicar con IIS debo de hacer lo siguiente:
1.- Abrir IIS
2.- Me dirijo a Sitios Web Predeterminados y creo un directorio virtual
3.- La ruta de la carpeta es C:/Inetpub/wwwroot/sitioWeb Donde "sitioWeb" es el nombre de mi directorio virtual
4.- En visual studio, click derecho a nombre de proyecto y click en publicar, despues se crea una carpeta en mi proyecto con los archivos necesarios para publicar mi sitio
5.-Copio los archivos y los paso a mi directorio virtual, en este caso sitioWeb
6.- Abrir explorador y checar
Bueno esto es lo que hago para publicar en IIS pero aparece el siguiente error:
Server Error in '/carikoWeb' Application.
Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set to an instance of an object.
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:
[NullReferenceException: Object reference not set to an instance of an object.]
_Default.Page_Load(Object sender, EventArgs e) +121
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
Agradeceria mucho cualquier ayudaaa
Valora esta pregunta


0