ASP.NET - No puedo publicar sitio web con VS2005

 
Vista:

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
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:No puedo publicar sitio web con VS2005

Publicado por Pablo Iñareta (224 intervenciones) el 22/05/2009 09:13:16
consejo. una vez creado el directorio virtual en el iis publica la tu sitio poniendote sobre el proyecto, boton derecho, publicar. quizas te estes dejando algo sin subir.
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:No puedo publicar sitio web con VS2005

Publicado por t3quila (2 intervenciones) el 25/05/2009 23:59:36
Si, eso fue lo que hice, click derecho en proyecto y opción publicar, esto crea la carpeta con los archivos necesarios para ver el sitio web en el explorer. Pero no funciono y sigo teniendo el mismo error que aparece en mi primer mensaje

Gracias por tu respuesta
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar