Foros del Web » Programación para mayores de 30 ;) » .NET »

Copiar un project a otro server

Estas en el tema de Copiar un project a otro server en el foro de .NET en Foros del Web. Hola! Estoy trabajando en un proyecto en C# en mi pc, ahora necesito pasar este proyecto a otro server. Es tan facil pasarlo como simplemente ...
  #1 (permalink)  
Antiguo 05/07/2006, 08:20
 
Fecha de Ingreso: mayo-2006
Mensajes: 243
Antigüedad: 18 años
Puntos: 0
Copiar un project a otro server

Hola!
Estoy trabajando en un proyecto en C# en mi pc, ahora necesito pasar este proyecto a otro server.

Es tan facil pasarlo como simplemente hace un copy paste hacia el otro server???... o que pasos debo seguir?

Saludos!
  #2 (permalink)  
Antiguo 05/07/2006, 08:49
 
Fecha de Ingreso: julio-2005
Ubicación: México, ciuudad de Guanajuato
Mensajes: 202
Antigüedad: 18 años, 9 meses
Puntos: 0
Yo hago eso lo copy page por facilidad.. pero depende si estas trabajando versiones con source safe
__________________
Hay que echar desman ,,,, Mientras se pueda:-D
  #3 (permalink)  
Antiguo 05/07/2006, 09:07
 
Fecha de Ingreso: mayo-2006
Mensajes: 243
Antigüedad: 18 años
Puntos: 0
Ya copie y pegue el proyecto en el nuevo server, pero al intentar abrirlo desde mi máquina, me marca el siguiente error:

Unable to open Web project 'ProyectoPrueba'. The file path:'G:\proyectos\2006\ProyectoPrueba\' does not correspond to the URL 'http://Localhost:/ProyectoPrueba'. The two need to map to the same server location. HTTP Error 404: Object Not Found

=(

El problema es como abrirlo para editar el proyecto desde Visual Studio.NEt 2003.

Si abro el default.aspx de mi proyecto desde el browser si se ve y todo funciona perfectamente, pero no lo puedo abrir para editarlo =(

Última edición por Emerald; 05/07/2006 a las 09:15
  #4 (permalink)  
Antiguo 05/07/2006, 09:30
 
Fecha de Ingreso: julio-2005
Ubicación: México, ciuudad de Guanajuato
Mensajes: 202
Antigüedad: 18 años, 9 meses
Puntos: 0
cuando lo copiaste y pegaste...... abres el archivo de la solución del proyecto de la carpeta que copiaste y te deve dejar abrirlo perfectamente en el IDE
__________________
Hay que echar desman ,,,, Mientras se pueda:-D
  #5 (permalink)  
Antiguo 05/07/2006, 11:34
 
Fecha de Ingreso: mayo-2006
Mensajes: 243
Antigüedad: 18 años
Puntos: 0
=( ...

Explico paso por paso lo que hice...

Copie y pegue el folder de mi proyecto hacia el nuevo server.
Cree un Directorio virtual en el IIS de ese nuevo server que apunta a la carpeta que copie, al intentar abrirlo para editarlo me marcaba el error que les dije anteriormente, total que entre tantas cosas que abría y cerraba encontre el archivo: ProyectoPrueba.csproj.webinfo, en donde modifique el path apuntando al directorio virtual que cree, con esto ya pude abrirlo para editarlo.

Pero ahora el problema es que quiero hacer un debug y me marca 2 errores:

1. Could not copy temporary files to the output directory
2. The file 'bin\ProyectoPrueba.dll' cannot be copied to the run directory. The process cannot access the file because it is being used by another process.

El folder bin está dentro de la carpeta del proyecto y contiene la dll ProyectoPrueba.dll, ... cómo me puede marcar ese error si nadie mas tiene acceso a este proyecto??...

espero que me puedan ayudar.. =( ... de verdad que no se que esté sucediendo

Saludos
  #6 (permalink)  
Antiguo 05/07/2006, 11:48
Avatar de RootK
Moderador
 
Fecha de Ingreso: febrero-2002
Ubicación: México D.F
Mensajes: 8.004
Antigüedad: 22 años, 2 meses
Puntos: 50
Cita:
Iniciado por Emerald
Pero ahora el problema es que quiero hacer un debug y me marca 2 errores:

1. Could not copy temporary files to the output directory
2. The file 'bin\ProyectoPrueba.dll' cannot be copied to the run directory. The process cannot access the file because it is being used by another process.
Ya te aseguraste que todo tu folder del proyecto tengas permisos de lectura y escritura ?

SAlu2
__________________
Nadie roba nada ya que en la vida todo se paga . . .

Exentrit - Soluciones SharePoint & Net
  #7 (permalink)  
Antiguo 06/07/2006, 08:23
 
Fecha de Ingreso: mayo-2006
Mensajes: 243
Antigüedad: 18 años
Puntos: 0
Si, ya me aseguré de tener esos permisos de lectura y escritura , y si los tengo.

Ahora me aparece otro error al momento de querer hacer un debug:

Error while trying to run project: Unable to start debugging on the web server. Unable to map the debug start page URL to a machine name

Yo may also want to refer to the ASP.NET and ATL Server debugging topic in the online documentation

Apareció como un message box y di click al boton de HELP, encontré que este error puede ser por varias causas:

Things to Check
Web Applications on Remote Servers
Web Applications Stored in Visual SourceSafe and Using FrontPage Server Extensions
Manually Attaching

La que me parece que aplica en mi caso es: Web Applications on Remote Servers así que entré a esa sección y encontré que para hacer un debug debo estar dentro del grupo: the Debugger Users group, así que revisé como podría estar dentro de este grupo:

To access the Debugger Users group

Caution Adding users to the Debugger Users group may create a security risk by allowing those users to access the machine. You should add only those users that need debugger access on that particular machine. Do not add Everyone to the Debugger Users group.
From the Start menu, choose Settings and click Control Panel.
In Control Panel, double-click Administrative Tools.
Double-click Computer Management.
In the Computer Management dialog box, expand the Systems Tools folder.
Under the Local Users and Groups node, open the Groups folder.
Right-click Debugger Users and choose Properties from the shortcut menu.
In the Debugger Users Properties dialog box, click the Add button.
From the list of users and groups, select the name of a user and click Add.
Click OK to close the Debugger Users Properties dialog box.
Close the other windows and dialog boxes.
Log off the machine running the debugger and log back on again.
-or-

Restart the machine or the machine running the debugger.


Pero... en el server no encontré el grupo: Debugger Users.

Ayuda por favor.. ya he perdido todo el día de ayer solo por esto y necesito terminar pronto el proyecto en el nuevo server =( ...
  #8 (permalink)  
Antiguo 06/07/2006, 09:13
Avatar de RootK
Moderador
 
Fecha de Ingreso: febrero-2002
Ubicación: México D.F
Mensajes: 8.004
Antigüedad: 22 años, 2 meses
Puntos: 50
ya te diste una vuelta en lsa faq´s ??? checa esta documentacion, ahi viene como solucionar los problemas mas comunues del compiler.

http://www.forosdelweb.com/showthrea...=206048&page=2

Salu2
  #9 (permalink)  
Antiguo 06/07/2006, 11:52
 
Fecha de Ingreso: mayo-2006
Mensajes: 243
Antigüedad: 18 años
Puntos: 0
Muchas gracias a todos por su ayuda!

Definitivamente no puedo debuguear desde mi máquina un proyecto que está en otra máquina, ya no me voy a quebrar tanto la cabeza.. haré los cambios en mi máquina, después´pasaré esos cambios al server y en el browser veré estos cambios...

Si encontré info en FAQ´s, la pasé a los administradores del server, pero no es posible hacer esto, en fin, muchas gracias

Can’t connect to a remote machine because of RPC issue
* this information is from one of KB articles. Thanks for “Mike Clay” who wrote this KB.
If you see the below error messages while you are connecting to remote machine with “Processes” dialog.

Error while trying to run project: Unable to start debugging on the web
server. Not enough storage is available to complete this operation.

Or, you see the below, during ASP.NET debugging.
Error while trying to run project: Unable to start debugging on the web
server. Unable to map the debug start page URL to a machine name.


Please make sure that RPC is working properly between your machine and the remote machine. the reason of RPC issue can be from
1. Debugging through a firewall. Microsoft does not recommend or support remote
ASP.Net debugging through a firewall. The best way to do overcome this is use
Terminal Services to log into the remote server and debug locally.

2. One common failure for RPC is the inability to resolve the remote machine
name. RPC relies on name resolution for communication between machines. If
you are unable to resolve the remote servers machine name to the correct IP
address errors may occur.

3. RPC Traffic can flow in one direction but not the other. RPC traffic must be
able to go from the machine used to do the debugging to the remote server and
from the remote server back to the machine used to do the debugging in order
to successfully debug remotely. Make sure that RPC communication is enabled
in both directions.

To analyze your RPC, you can use “RPCPing” tool
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 15:14.