PDA

View Full Version : سوال: درخواست آپلود سایت نوشته شده با ASP



theunforgiven
دوشنبه 07 بهمن 1392, 01:51 صبح
درود و احترام دوستان

یه سایت نوشتم با ای اس پی لوکال هست

می خوام آپ کنم رو هاست

با کلی ارور مواجهم چون تاحالا این کارو نکردم

کسی هست با هزینه این کارو انجام بده برام ؟

لطفا اطلاع بدید خیلی فوری هست

LostOfMind
دوشنبه 07 بهمن 1392, 08:41 صبح
سلام
خطاها رو اعلام کنید تا راهنمایی کنم

theunforgiven
دوشنبه 07 بهمن 1392, 09:34 صبح
Server Error in '/' Application.

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)

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.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)

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:

[SqlException (0x80131904): 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)] System.Data.SqlClient.SqlInternalConnection.OnErro r(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction) +5352431 System.Data.SqlClient.TdsParser.ThrowExceptionAndW arning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose) +244 System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean withFailover) +5363103 System.Data.SqlClient.SqlInternalConnectionTds.Att emptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover) +145 System.Data.SqlClient.SqlInternalConnectionTds.Log inNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout) +922 System.Data.SqlClient.SqlInternalConnectionTds.Ope nLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance) +307 System.Data.SqlClient.SqlInternalConnectionTds..ct or(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData) +518 System.Data.SqlClient.SqlConnectionFactory.CreateC onnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions) +278 System.Data.ProviderBase.DbConnectionFactory.Creat ePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions) +38 System.Data.ProviderBase.DbConnectionPool.CreateOb ject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) +732 System.Data.ProviderBase.DbConnectionPool.UserCrea teRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection) +85 System.Data.ProviderBase.DbConnectionPool.TryGetCo nnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +1057 System.Data.ProviderBase.DbConnectionPool.TryGetCo nnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +78 System.Data.ProviderBase.DbConnectionFactory.TryGe tConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +196 System.Data.ProviderBase.DbConnectionInternal.TryO penConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +146 System.Data.ProviderBase.DbConnectionClosed.TryOpe nConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +16 System.Data.SqlClient.SqlConnection.TryOpenInner(T askCompletionSource`1 retry) +94 System.Data.SqlClient.SqlConnection.TryOpen(TaskCo mpletionSource`1 retry) +110 System.Data.SqlClient.SqlConnection.Open() +96 epcforce1.FirstMaster.Page_Load(Object sender, EventArgs e) in d:\Work\EpcForce\epcforce1\epcforce1\FirstMaster.M aster.cs:22 System.Web.Util.CalliEventHandlerDelegateProxy.Cal lback(Object sender, EventArgs e) +51 System.Web.UI.Control.OnLoad(EventArgs e) +92 System.Web.UI.Control.LoadRecursive() +54 System.Web.UI.Control.LoadRecursive() +145 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +772

theunforgiven
دوشنبه 07 بهمن 1392, 09:38 صبح
اين هم فايل web.config

<?xml version="1.0"?>

<!--
For more information on how to configure your ASP.NET application, please visit
http://go.microsoft.com/fwlink/?LinkId=169433
-->

<configuration>

<connectionStrings>

<add name="Connection" connectionString="Data Source=127.0.0.1\SQL2008, 1433;Initial Catalog=epcforce_maindb;UID=epcu;PWD=Me@4989Mm" providerName="System.Data.SqlClient"/>
</connectionStrings>

<system.web>
<compilation debug="true" targetFramework="4.5" />
<httpRuntime targetFramework="4.5" />
<customErrors mode="Off"/>
</system.web>



</configuration>

LostOfMind
دوشنبه 07 بهمن 1392, 10:01 صبح
سرور شما از بانک اطلاعاتی لوکال استفاده می کنه در صورتی که بانک اطلاعاتی شما SQLEXPRESS هستش بانک اطلاعاتی رو به لوکال تغییر بدید و اسکریپت آن را از طریق SQL Server Management Studio بر روی سرور اجرا کنید
همچنین ConnectionString شما در WebConfig اشتباست به این صورت تغییرش بدهید

<add name="DataConnectionString" connectionString="Data Source=localhost;Initial Catalog=YourDatabaseName;User ID=YourUserName;Password=yourpass;MultipleActiveRe sultSets=True" providerName="System.Data.SqlClient"/>

theunforgiven
دوشنبه 07 بهمن 1392, 10:34 صبح
ببخشيد اما اين كارو بلد نيستم

fakhravari
دوشنبه 07 بهمن 1392, 14:22 عصر
من انجام میدم برات!

theunforgiven
سه شنبه 08 بهمن 1392, 10:07 صبح
من انجام میدم برات!
لطفا با من تماس بگیرید

شماره در پی ام

theunforgiven
چهارشنبه 09 بهمن 1392, 07:59 صبح
علی الحساب خواستم یه سپاس ویژه داشته باشم از دوست عزیزم LostOfMind (http://barnamenevis.org/member.php?283292-LostOfMind)

که وقت با ارزشش رو خیلی در اختیار من گذاشت و کمک خیلی خیلی مهمی به من کرد.

دمت گرم