How to deploy an ASP.NET Website?

Active server pages

How to deploy an ASP.NET Website?

Postby @l3x » 12 Oct 2010, 10:45

Salut,

Am dezvoltat un site in Visual Studio 2008 in care am o baza de date destul de mare. Problema este ca atunci cand uploadez site-ul am eroarea aceasta:

  1.  
  2. Server Error in '/' Application.
  3. A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
  4. 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.
  5.  
  6. Exception Details: System.Data.SqlClient.SqlException: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)
  7.  
  8. Source Error:
  9.  
  10. 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.
  11.  

Din cate am inteles este o eroare generata de faptul ca exista o problema in web.config, la conexionString, insa nu mi-e clar unde este eroarea, si ce trebuie modificat.
A mai incercat cineva sa uploadeze un site ASP si a mai dat de erorile astea?
Multumesc!
0,0p / 0 votes
User avatar
@l3x
 
Joined: 18 Apr 2010
Status: 0

Re: How to deploy an ASP.NET Website?

Postby emi » 12 Oct 2010, 14:30

Nu stiu raspunsul la intrebarea ta... si iti recomand sa eviti "solutiile" Microsoft.

In primul rind: ai un server web local functional ? tasteaza localhost in browser ca sa afli.
In al doilea rind: ai un server de baze de date functional ? cauta "php test db connection".

Daca la tine pe PC, totul e ok, si pe alt server nu merge, te informez ca 99,9% din oameni folosesc solutii open-source care merg si pe local si pe orice alt server, fara modificari.

Bafta.
0,0p / 0 votes
User avatar
emi
Byte
 
Joined: 10 Apr 2010
Status: 18

Re: How to deploy an ASP.NET Website?

Postby @l3x » 13 Oct 2010, 12:40

Multumesc de raspuns.
Insa nu sunt de parerea ta, ca sa evit solutiile Microsoft, programarea in .NET mi se pare destul de buna si fiabila. Legat de acele verificari pe care mi le-ai zis nu au legatura cu problema mea, baza de date e ok, si cand rulez de pe localhost e totul bine, problema e cand uploadez site-ul pe un server, trebuie facute cateva modificari in fisierul .config, configurari ce nu-mi sunt clare, nu am gasit inca nicio documentatie buna.

A reusit cineva sa uploadeze un site ASP.NET?
0,0p / 0 votes
User avatar
@l3x
 
Joined: 18 Apr 2010
Status: 0

Re: How to deploy an ASP.NET Website?

Postby alexcraia » 27 Jan 2011, 23:20

Ai reusit sa il uploadezi?? trebuie sa modifici in .config connectionstring-ul ......
0,0p / 0 votes
User avatar
alexcraia
Bit
 
Joined: 03 Jan 2011
Status: 0


Return to ASP

Who is online

Users browsing this forum: No registered users and 0 guests

cron