CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > NEWSGROUP > Asp.Net Forum > visual_studio.visual_web_developer_2005_express Tags:
Item Type: NewsGroup Date Entered: 9/7/2007 2:25:38 AM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 5 Views: 48 Favorited: 0 Favorite
6 Items, 1 Pages 1 |< << Go >> >|
srandy
Asp.Net User
Trying to load the Job site starter kit to a webserver, but keep getting errors, and page doesn't load.9/7/2007 2:25:38 AM

0

Hi!

I'm trying to load a couple of the starter kits provided by vwd, but the only site I can get to load is my main site.  The templates I'm speaking of are being loaded in a sub folder which I thought was the problem but last night I loaded it in a subfolded named "Testing" and it worked fine, but when I erased everything to put it back today, I can't get it to load.  I'm getting the same error that most are getting when their page doesn't load on the live machine.  I've changed my web.config back and forth, but still doesn't fix the problem.

 Any suggestions?

Mikhail Arkhipo
Asp.Net User
Re: Trying to load the Job site starter kit to a webserver, but keep getting errors, and page doesn't load.9/8/2007 6:52:22 PM

0

Can you provide more information on what is your site structure, how do you deploy it, what is different from when site worked and when it did not. Perhaps site is not configured in IIS properly?


Thanks

------------------------------------------------------------

This posting is provided "AS IS" with no warranties, and confers no rights.
srandy
Asp.Net User
Re: Trying to load the Job site starter kit to a webserver, but keep getting errors, and page doesn't load.9/8/2007 8:33:29 PM

0

Thanks for the reply!

 Actually I finally got it to show the page, but it will only show the first page.  After that when you trying to login it will give an error on the page which I will paste here in a sec.  Basically it now loads the front page, but doesn't really fully interact with the database.  I've copied my sql express database into the SQL database on the host already, and I've tried several ways of trying to point the web.config file to that database, but it still isn't doing what it should do at this point.  Here's the error I get back:

 

Server Error in '/employment1' Application.

An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

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: An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

Source Error:

Line 4:  
Line 5:      Protected Sub Login1_Authenticate(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.AuthenticateEventArgs)
Line 6:          If Membership.ValidateUser(Login1.UserName, Login1.Password) Then
Line 7:              FormsAuthentication.SetAuthCookie(Login1.UserName, Login1.RememberMeSet)
Line 8:              Response.Redirect(FormsAuthentication.GetRedirectUrl(Login1.UserName, Login1.RememberMeSet))

Source File: d:\hosting\sonny55448\employment1\login.aspx.vb    Line: 6

Stack Trace:

[SqlException (0x80131904): An error has occurred while establishing a connection to the server.  When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)]
   System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) +739123
   System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj) +188
   System.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, Boolean encrypt, Boolean trustServerCert, Boolean integratedSecurity, SqlConnection owningObject) +685966
   System.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnection owningObject) +109
   System.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(String host, String newPassword, Boolean redirectedUserInstance, SqlConnection owningObject, SqlConnectionString connectionOptions, Int64 timerStart) +383
   System.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(SqlConnection owningObject, SqlConnectionString connectionOptions, String newPassword, Boolean redirectedUserInstance) +181
   System.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, Object providerInfo, String newPassword, SqlConnection owningObject, Boolean redirectedUserInstance) +170
   System.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection) +359
   System.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnection owningConnection, DbConnectionPool pool, DbConnectionOptions options) +28
   System.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject) +424
   System.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject) +66
   System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +496
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
   System.Data.SqlClient.SqlConnection.Open() +111
   System.Web.DataAccess.SqlConnectionHolder.Open(HttpContext context, Boolean revertImpersonate) +84
   System.Web.DataAccess.SqlConnectionHelper.GetConnection(String connectionString, Boolean revertImpersonation) +197
   System.Web.Security.SqlMembershipProvider.GetPasswordWithFormat(String username, Boolean updateLastLoginActivityDate, Int32& status, String& password, Int32& passwordFormat, String& passwordSalt, Int32& failedPasswordAttemptCount, Int32& failedPasswordAnswerAttemptCount, Boolean& isApproved, DateTime& lastLoginDate, DateTime& lastActivityDate) +1121
   System.Web.Security.SqlMembershipProvider.CheckPassword(String username, String password, Boolean updateLastLoginActivityDate, Boolean failIfNotApproved, String& salt, Int32& passwordFormat) +105
   System.Web.Security.SqlMembershipProvider.CheckPassword(String username, String password, Boolean updateLastLoginActivityDate, Boolean failIfNotApproved) +42
   System.Web.Security.SqlMembershipProvider.ValidateUser(String username, String password) +83
   System.Web.Security.Membership.ValidateUser(String username, String password) +43
   login.Login1_Authenticate(Object sender, AuthenticateEventArgs e) in d:\hosting\sonny55448\employment1\login.aspx.vb:6
   System.Web.UI.WebControls.Login.OnAuthenticate(AuthenticateEventArgs e) +106
   System.Web.UI.WebControls.Login.AttemptLogin() +105
   System.Web.UI.WebControls.Login.OnBubbleEvent(Object source, EventArgs e) +99
   System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +35
   System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +115
   System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +163
   System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
   System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
   System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102

Mikhail Arkhipo
Asp.Net User
Re: Trying to load the Job site starter kit to a webserver, but keep getting errors, and page doesn't load.9/9/2007 1:37:04 AM

0

Well, you site is unable to connect to your SQL server. You want to verify connection string and also ensure that SQL server allows remote connections if it is not on the same machine.


Thanks

------------------------------------------------------------

This posting is provided "AS IS" with no warranties, and confers no rights.
srandy
Asp.Net User
Re: Trying to load the Job site starter kit to a webserver, but keep getting errors, and page doesn't load.9/9/2007 4:58:00 AM

0

Well I know they don't allow remote connections based on some of the errors I'm getting, but I'm not sure how this factors in, because I'm trying to load the software to their server which technically is their machine.  So it should work right?

Benson Yu - MSF
Asp.Net User
Re: Trying to load the Job site starter kit to a webserver, but keep getting errors, and page doesn't load.9/11/2007 2:26:48 AM

0

Hi srandy,

I find you have a duplicate thread in the following link. I have replied in that thread, please check it. Thanks.

vwd connect to database problems...
http://forums.asp.net/t/1156202.aspx

 


Sincerely,
Benson Yu
Microsoft Online Community Support

Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
6 Items, 1 Pages 1 |< << Go >> >|


Free Download:


Web:
ng.asp-net-forum.visual_web_developer_2005_express/7 - Find Errors ... Trying to load the Job site starter kit to a webserver, but keep getting er rors , and page doesn't load. 5, 4, 9/11/2007 2:26:48 AM ...
TheMSsForum.com >> Asp >> WebDev.WebServer.exe crashes - The ... I am trying to use the ads web starter kit with sql2000. I have ... developer the default page starts to load and then I get the error WebDev.WebServer.exe ...
Web Test Tools Listing of 390 web test tools and management tools - load testing, ... Doesn't fail on source files with errors, or if some inspectors throw exceptions. ...
.NET ASP Page 66 - Bytes Site Map Dynamically load an ASP inside an ASPX file while loading .... GridView Help · Trying to pinvoke SetLocalTime and getting Access Denied from asp.net. ...
CassiniEx v0.94.402 has been released! CassiniEx will run on XP Home, but you must have .NET 1.1. If you don't have a .... I've looked in the logs, and apparently VS tries to load a file called ...
TheMSsForum.com >> Asp >> System.Runtime.InteropServices ... WebServer.exe crashes I am trying to use the ads web starter kit with sql2000. ... I also tried adding a Page Error handler which didn't work. ...
MacZealots > Tutorials > Installing Movable Type on Panther Doug, Panther doesn’t use sendmail, but PostFix and this runs out of the ..... Strange, I keep getting an internal server error message when I try to load ...
CodeProject: Web Tabstrip Control for Frames. Free source code and ... The one thing I'm getting stuck on is, when I load my tabstrip (drag & drop onto .... It doesn't affect functionality, but it does pop up a script error. ...
ASP.NET MVC Source Refresh Preview - ScottGu's Blog I have installed 3.5 and 3.5 Preview-2 on the web server. I have also tried the NorthwindMVC sample, but am getting a different error (Could not load file ...
Code : Persistant Character Server :. GarageGames It doesn't! You have to extend the PHP script on the webserver with user ..... Sending mission load to client: starter.rpg/data/missions/stronghold.mis ...












first steps

error report information is being collected. this process could take several minutes to complete

vslab proxy - web developer feb 2005 corrupt?

accessing oracle packages with "sqldatasource" data control - need help.

cannot uninstall vwd express 2005

code behind - sample files?

refresh website add data again in data base

xml page can not be displayed

designing a stored procedure in vwd...

difference in sending email in beta

problems deploying from vwd

vwd and xp sp2!

where can Ï found migrateaspnetbeta1app.exe?

users on remote server

use imports or web.config

where to place this new code, can you help me?

updates for vwd

missing treeview control in feb ctp?

visual web developer and sql server 2000

how to show my my data in databse in my textbox....

neverending breakpoints

unmanaged debugging not available

sql server yukon cache dependency in page directive

visual web developer 2005 registration problems

sqldatasource?

please help with creating a dynamic report with reportviewer

vs 2005 loading image display while query data executing

where can i get some free programs written by vwd?

vwd data question

how can i know whether a hosting support remote/network transactions?

 
Search This Site:

 
  Privacy | Contact Us
All Times Are GMT