|
|
|
Say Hey Kid
      
Group: General Forum Members
Last Login: Friday, May 10, 2013 8:49 AM
Points: 661,
Visits: 1,187
|
|
Hello,
I have an IIS server running on Windows 2008, it needs to connect to a SQL 2008 R2 on a remote machine.
Both the two servers are newly built and we have not received licenses for them and the 30 days evaluation period already expires.
When I test my website, it hangs there forever. I checked the eventlog on SQL server, there is a warning:
Event ID: 4105: Windows is in Notification period.
I don't know if I can still make connection even the license is ready, is there a way to find out or maybe there is some trick I can at least test out if the connection can be set up or not?
I am using Windows Authentication, a dedicated ID is created on the same domain, the ID is used to run the application pool on the IIS server and the ID is also added into the SQL server. Presumably it should be passed over to SQL server.
Thank you.
|
|
|
|
|
SSCrazy
      
Group: General Forum Members
Last Login: Yesterday @ 12:00 PM
Points: 2,988,
Visits: 4,412
|
|
halifaxdal (9/19/2012) Event ID: 4105: Windows is in Notification period.
I think your Windows O/S has also expired the license... message is consistent with unlicensed O/S
_____________________________________ Pablo (Paul) Berzukov
Author of Understanding Database Administration available at Amazon and other bookstores.
Disclaimer: Advice is provided to the best of my knowledge but no implicit or explicit warranties are provided. Since the advisor explicitly encourages testing any and all suggestions on a test non-production environment advisor should not held liable or responsible for any actions taken based on the given advice.
|
|
|
|
|
Say Hey Kid
      
Group: General Forum Members
Last Login: Friday, May 10, 2013 8:49 AM
Points: 661,
Visits: 1,187
|
|
PaulB-TheOneAndOnly (9/19/2012)
halifaxdal (9/19/2012) Event ID: 4105: Windows is in Notification period.I think your Windows O/S has also expired the license... message is consistent with unlicensed O/S
Other than waiting and applying the licenses, is there any way to test it out? I want to save some time before the licenses arrive.
Thanks.
|
|
|
|
|
SSCrazy Eights
        
Group: General Forum Members
Last Login: Yesterday @ 1:17 PM
Points: 8,641,
Visits: 8,273
|
|
halifaxdal (9/19/2012)
PaulB-TheOneAndOnly (9/19/2012)
halifaxdal (9/19/2012) Event ID: 4105: Windows is in Notification period.I think your Windows O/S has also expired the license... message is consistent with unlicensed O/S Other than waiting and applying the licenses, is there any way to test it out? I want to save some time before the licenses arrive. Thanks.
You can see if the IIS server can ping the SQL box. That will at least let you know that it can see the sql box. If it can ping it any other connection issues should be pretty quick and simple to sort out.
_______________________________________________________________
Need help? Help us help you.
Read the article at http://www.sqlservercentral.com/articles/Best+Practices/61537/ for best practices on asking questions.
Need to split a string? Try Jeff Moden's splitter.
Cross Tabs and Pivots, Part 1 – Converting Rows to Columns Cross Tabs and Pivots, Part 2 - Dynamic Cross Tabs
|
|
|
|
|
SSChampion
        
Group: General Forum Members
Last Login: Today @ 4:31 AM
Points: 11,648,
Visits: 27,762
|
|
You could test agaisnt an express instance until your license comes in...just change your connection string;
there's pretty much only 3 or 4 things in the string anyway; server, database, trusted connection or not, and if not, username and password.
you can change those things whenever you need to change to teh Standard version once it gets installed.
Lowell
--There is no spoon, and there's no default ORDER BY in sql server either. Actually, Common Sense is so rare, it should be considered a Superpower. --my son
|
|
|
|
|
Say Hey Kid
      
Group: General Forum Members
Last Login: Friday, May 10, 2013 8:49 AM
Points: 661,
Visits: 1,187
|
|
No problem ping the SQL server, BUT: telnet 1433 failed!
The firewalls for both the servers are turned off; netstat -an returns no 1433 is being listened. WHY?
|
|
|
|
|
Say Hey Kid
      
Group: General Forum Members
Last Login: Friday, May 10, 2013 8:49 AM
Points: 661,
Visits: 1,187
|
|
After further troubleshooting, I have manually enabled both servers' inbound/outbound 1433 TCP/UDP ports
My connection string is:
connectionString="Data Source=10.40.2.90,1433\SQL_SGCS;
I've tried: connectionString="Data Source=servername\SQL_SGCS; connectionString="Data Source=servername,1433\SQL_SGCS;
I got similar error message saying the instance couldn't be found:
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: TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.)
How should I write my connection string in this case?
On the SQL server, I can get in via management studio by servername\SQL_SGCS
Thank you in advance.
|
|
|
|
|
SSCrazy Eights
        
Group: General Forum Members
Last Login: Yesterday @ 1:17 PM
Points: 8,641,
Visits: 8,273
|
|
|
|
|
|
Say Hey Kid
      
Group: General Forum Members
Last Login: Friday, May 10, 2013 8:49 AM
Points: 661,
Visits: 1,187
|
|
So far I haven't found a working connection string, it always returns me error like the server/instance couldn't be found, or the remote connection is not enabled.
I double checked in configuration manager as well as SSMS and the remote connection is open and TCP/UDP port 1433 is open.
But I do have a new finding: I create a udl file and double click it to open a connection window, I then input the server/instance name just like the one I put in SSMS (which works fine), then I choose windows authentication, it fails; I tried to create a SQL account and I enabled the mix mode authentication and restarted the server, it still failed. However, I don't see any items in SQL's errorlog
Wouldn't this be weird? What did I miss?
Any clue is appreciated
|
|
|
|
|
Say Hey Kid
      
Group: General Forum Members
Last Login: Friday, May 10, 2013 8:49 AM
Points: 661,
Visits: 1,187
|
|
I also tried to start profiler to monitor the server, unfortunately it seems it didn't capture any login request.
In order to verify that the profiler is working, on the server itself, I use SSMS to log into the server, both windows authentication and SQL authentication are captured.
What else I can try?
|
|
|
|