Home | Support Forums | Demo | Purchase | Contact Us | MPopper | MChecker | News | Knowledgebase
Welcome Guest Search | Active Topics | Members | Log In | Register

Installation: Change of port (MSSQL) Options · View
jose
Posted: Saturday, August 28, 2004 2:07:38 PM
Rank: Newbie
Groups: Member

Joined: 8/28/2004
Posts: 8
Points: 24
Location: United States

iI just installed maiyoulike on my server and i get de followin error every time that the application access the sql server is by the port  1433 an that why is no connecting to the sql server i'm using diferent port how can i fix it or how can i change the port on the application. thanks


 



Server Error in '/webmail' Application.



[DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.


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.Runtime.InteropServices.COMException: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied.

Source Error:





Line 41: 	dim recdo as new  ADODB.Recordset
Line 42: recdo = New ADODB.Recordset
Line 43: recdo.let_ActiveConnection(constr)
Line 44: recdo.let_Source("SELECT * FROM domains")
Line 45: recdo.CursorType = 3

Source File: D:\Hosting\Wwwroot\jdisot.net\webmail\build_domains.aspx    Line: 43

Stack Trace:





[COMException (0x80004005): [DBNETLIB][ConnectionOpen (Connect()).]SQL Server
does not exist or access denied.]
ADODB.RecordsetClass.let_ActiveConnection(Object pvar) +0
ASP.my_login_aspx.build_domains(String& sty, Object& ty) in
D:\Hosting\Wwwroot\jdisot.net\webmail\build_domains.aspx:43


ASP.my_login_aspx.__Render__control1(HtmlTextWriter __output,
Control parameterContainer) in D:\Hosting\Wwwroot\jdisot.net\
webmail\my_login.aspx:109
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +27
System.Web.UI.Control.Render(HtmlTextWriter writer) +7
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
System.Web.UI.Page.ProcessRequestMain() +1929





Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573


admin38227.6881944444
admin
Posted: Saturday, August 28, 2004 4:23:44 PM

Rank: Administration
Groups: Administration

Joined: 7/1/2008
Posts: 256
Points: 574
Hi !

 You will have to use different connection string Can you please send me your ftp info I will change the connection string so that you can specify the port number in config.aspx file with out going into   more code !

 

Thanks
Suhail kaleem
mailyoulike.com
admin
Posted: Monday, August 30, 2004 10:56:17 AM

Rank: Administration
Groups: Administration

Joined: 7/1/2008
Posts: 256
Points: 574
Hi !

 You can set the port of MS sql server if it is not default  by  setting the variable in config.aspx

 

'=============================
'Your MSSQL server name(IP) is :
'=============================
sComputerNAme = "Your Server IP,Your Server Port "


Thanks
Suhail kaleem
mailyoulike.com
Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.
This page was generated in 0.088 seconds.