Showing posts with label iis. Show all posts
Showing posts with label iis. Show all posts

Tuesday, March 27, 2012

FTP Task

In order for my FTP task to work do i need to setup ftp within iis?

Yes... If you need to pick up/put files onto that IIS box.|||Other than IIS is there any option which can be used to pick up or put file|||

sureshv wrote:

Other than IIS is there any option which can be used to pick up or put file

You can map a network drive, perhaps.

FTP replication other 2 sql server 2000 (without IIS)

Hi everybody,
I want to setup a FTP replication ( snapshot or transactionnal) other 2
SQL 2000 server ( S1 and S2) accross non trust domains ( domain A and
domain B).
neither S1 , nor S2 can have IIS set. So i want to use an FTP server on
domain B to acts as snapshot folder.
Do you have some advices allowed me doing this.
RM : I read lots of method that use IIS on the publisher , but I can't
because neither S1 nor S2 can be reached other the web.
Thank you for reading me.
You can park your ftp server anywhere on your network as long as the
publisher and subscribers can reach it. The Publisher will have to be able
to do a local copy to a local drive or a network drive, so it will need
read, list files and folders, and write rights to the share or folder which
the ftp server is on. The subscriber will merely need to be able to access
the ftp site.
HTH
Hilary Cotter
Looking for a SQL Server replication book?
http://www.nwsu.com/0974973602.html
Looking for a FAQ on Indexing Services/SQL FTS
http://www.indexserverfaq.com
<philippe.edmond@.gmail.com> wrote in message
news:1164819189.753714.312780@.h54g2000cwb.googlegr oups.com...
> Hi everybody,
> I want to setup a FTP replication ( snapshot or transactionnal) other 2
> SQL 2000 server ( S1 and S2) accross non trust domains ( domain A and
> domain B).
> neither S1 , nor S2 can have IIS set. So i want to use an FTP server on
> domain B to acts as snapshot folder.
> Do you have some advices allowed me doing this.
> RM : I read lots of method that use IIS on the publisher , but I can't
> because neither S1 nor S2 can be reached other the web.
> Thank you for reading me.
>
|||Thanks for your response.
I will try it.
On 29 nov, 18:12, "Hilary Cotter" <hilary.cot...@.gmail.com> wrote:[vbcol=seagreen]
> You can park your ftp server anywhere on your network as long as the
> publisher and subscribers can reach it. The Publisher will have to be able
> to do a local copy to a local drive or a network drive, so it will need
> read, list files and folders, and write rights to the share or folder which
> the ftp server is on. The subscriber will merely need to be able to access
> the ftp site.
> HTH
> --
> Hilary Cotter
> Looking for a SQL Server replication book?http://www.nwsu.com/0974973602.html
> Looking for a FAQ on Indexing Services/SQL FTShttp://www.indexserverfaq.com
> <philippe.edm...@.gmail.com> wrote in messagenews:1164819189.753714.312780@.h54g2000cwb.g ooglegroups.com...
>
>
>
>

Friday, March 23, 2012

Frustrating Error connecting to SQL 2000 from IIS with .NET 2.0

I am getting the following error when connecting to SQL 2000 from IIS with .NET 2.0.

It works perfectly with the Test Server that comes with VS 2005.

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)

Any suggestions|||

AndsX wrote:

Any suggestions


This question has been asked and resolved by others previously. Ithink you should use the Search feature on these forums to search forthis string and see if previous resolution(s) help you:
"provider: Named Pipes Provider, error: 40"
|||I was expecting this answer :) anyways i made a search on the forum before posting the question . but i could find any resolution to this poblem. Most of them where do with SQL 2005.|||Same problem here. I posted a similar issue a week ago and didn'treally find any resolution. Anyone seen this. Connecting toSQL 2000 right?

Stephen|||

stephenzr wrote:

Same problem here. I posted a similar issue a week ago and didn't really find any resolution. Anyone seen this. Connecting to SQL 2000 right?

Stephen

After lot of tries i found an answer to this problem. In the DB Connection String use integreted Security and add Impersonate Identiy in the config . Hope his solves ur problem also

|||Thanks, I will try that. Are you using SQL username/password authentication or windows auth?

Stephen|||

No go. Do we really need to impersonate. That seems like a significant config change just to go from 1.1 to 2.0?

Stephen

Frontpage & MS SQL Connection Error-Please Help

Hi, I have 2 servers, both with Windows 2003 Standard edition. Servers
are NOT in a domain. The second server has SQL 2000, the first has IIS 6.0
Through OBDC (System DSN) I created a connection to the SQL db. Then on
my laptop I opened up frontpage to create a page to view the db results.
But, I get the this error when I select the "System Data Source on Web
Server":
"Login failed for user '(null)'. Reason: Not associated with a trusted
SQL Server connection"
I have been browsing through the web for some time now and can not seem
to get a direct resolution to this error.
On the SQL Server Management under Logins I have selected "Windows
Authentication", I have added the IIS_WPG, created a new account named
SQLUSER, etc..
Nothing seems to work. Every solution I have found so far on the web has
to do with another application, most often it seems it is a .net issue.
Basically I am trying to create forms via Frontpage to input and view
data entered into a SQL db.
Any help will be very much appriciated
> "Login failed for user '(null)'. Reason: Not associated with a trusted SQL
> Server connection"
Should give you a clue. One server does not trust the other BECAUSE THEY ARE
NOT IN A DOMAIN.
There is no way for the SQL server to know anything about the IIS server, it
could be anything trying to hack into the SQL Server.
I don't know how to get IIS to log into SQL using SQL authentication either
but perhaps you could post that question to an IIS newsgroup.
The other option is to add them both to a domain and set up an account on
SQL that refers to the IIS account and this time they will be authenticated
via the Domain Controller.
Nik Marshall-Blank MCSD/MCDBA
"Sam White" <noSPAM@.Please.com> wrote in message
news:wuCdnbqhoqA4k6beRVn-3g@.giganews.com...
> Hi, I have 2 servers, both with Windows 2003 Standard edition. Servers are
> NOT in a domain. The second server has SQL 2000, the first has IIS 6.0
> Through OBDC (System DSN) I created a connection to the SQL db. Then on my
> laptop I opened up frontpage to create a page to view the db results. But,
> I get the this error when I select the "System Data Source on Web Server":
> "Login failed for user '(null)'. Reason: Not associated with a trusted SQL
> Server connection"
> I have been browsing through the web for some time now and can not seem to
> get a direct resolution to this error.
> On the SQL Server Management under Logins I have selected "Windows
> Authentication", I have added the IIS_WPG, created a new account named
> SQLUSER, etc..
> Nothing seems to work. Every solution I have found so far on the web has
> to do with another application, most often it seems it is a .net issue.
> Basically I am trying to create forms via Frontpage to input and view data
> entered into a SQL db.
> Any help will be very much appriciated

Frontpage & MS SQL Connection Error-Please Help

Hi, I have 2 servers, both with Windows 2003 Standard edition. Servers
are NOT in a domain. The second server has SQL 2000, the first has IIS 6.0
Through OBDC (System DSN) I created a connection to the SQL db. Then on
my laptop I opened up frontpage to create a page to view the db results.
But, I get the this error when I select the "System Data Source on Web
Server":
"Login failed for user '(null)'. Reason: Not associated with a trusted
SQL Server connection"
I have been browsing through the web for some time now and can not seem
to get a direct resolution to this error.
On the SQL Server Management under Logins I have selected "Windows
Authentication", I have added the IIS_WPG, created a new account named
SQLUSER, etc..
Nothing seems to work. Every solution I have found so far on the web has
to do with another application, most often it seems it is a .net issue.
Basically I am trying to create forms via Frontpage to input and view
data entered into a SQL db.
Any help will be very much appriciated
This error means that the account is unknown on the SQL Server machine.
For example, suppose I create a user named User1 on computer Machine1.
Then I try to log into SQL Server on Machine2 using User1 from Machine1.
This is not possible because Machine2 has no idea about User1.
However, there is one trick you can employ to make this work, an old NTLM
trick that is used here.
If you create same user name on 2 machines with same exact password, then it
is possible for these accounts to work in this fashion (User1 from Machine1
to log into Machine2 as User1).
So in your case you need to create SQLUser on both machines with exact same
password and in theory it should work.
Matt Neerincx [MSFT]
This posting is provided "AS IS", with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
"Sam White" <noSPAM@.Please.com> wrote in message
news:wuCdnbmhoqAck6beRVn-3g@.giganews.com...
> Hi, I have 2 servers, both with Windows 2003 Standard edition. Servers are
> NOT in a domain. The second server has SQL 2000, the first has IIS 6.0
> Through OBDC (System DSN) I created a connection to the SQL db. Then on my
> laptop I opened up frontpage to create a page to view the db results. But,
> I get the this error when I select the "System Data Source on Web Server":
> "Login failed for user '(null)'. Reason: Not associated with a trusted SQL
> Server connection"
> I have been browsing through the web for some time now and can not seem to
> get a direct resolution to this error.
> On the SQL Server Management under Logins I have selected "Windows
> Authentication", I have added the IIS_WPG, created a new account named
> SQLUSER, etc..
> Nothing seems to work. Every solution I have found so far on the web has
> to do with another application, most often it seems it is a .net issue.
> Basically I am trying to create forms via Frontpage to input and view data
> entered into a SQL db.
> Any help will be very much appriciated

Frontpage & MS SQL Connection Error-Please Help

Hi, I have 2 servers, both with Windows 2003 Standard edition. Servers
are NOT in a domain. The second server has SQL 2000, the first has IIS 6.0
Through OBDC (System DSN) I created a connection to the SQL db. Then on
my laptop I opened up frontpage to create a page to view the db results.
But, I get the this error when I select the "System Data Source on Web
Server":
"Login failed for user '(null)'. Reason: Not associated with a trusted
SQL Server connection"
I have been browsing through the web for some time now and can not seem
to get a direct resolution to this error.
On the SQL Server Management under Logins I have selected "Windows
Authentication", I have added the IIS_WPG, created a new account named
SQLUSER, etc..
Nothing seems to work. Every solution I have found so far on the web has
to do with another application, most often it seems it is a .net issue.
Basically I am trying to create forms via Frontpage to input and view
data entered into a SQL db.
Any help will be very much appriciated> "Login failed for user '(null)'. Reason: Not associated with a trusted SQL
> Server connection"
Should give you a clue. One server does not trust the other BECAUSE THEY ARE
NOT IN A DOMAIN.
There is no way for the SQL server to know anything about the IIS server, it
could be anything trying to hack into the SQL Server.
I don't know how to get IIS to log into SQL using SQL authentication either
but perhaps you could post that question to an IIS newsgroup.
The other option is to add them both to a domain and set up an account on
SQL that refers to the IIS account and this time they will be authenticated
via the Domain Controller.
Nik Marshall-Blank MCSD/MCDBA
"Sam White" <noSPAM@.Please.com> wrote in message
news:wuCdnbqhoqA4k6beRVn-3g@.giganews.com...
> Hi, I have 2 servers, both with Windows 2003 Standard edition. Servers are
> NOT in a domain. The second server has SQL 2000, the first has IIS 6.0
> Through OBDC (System DSN) I created a connection to the SQL db. Then on my
> laptop I opened up frontpage to create a page to view the db results. But,
> I get the this error when I select the "System Data Source on Web Server":
> "Login failed for user '(null)'. Reason: Not associated with a trusted SQL
> Server connection"
> I have been browsing through the web for some time now and can not seem to
> get a direct resolution to this error.
> On the SQL Server Management under Logins I have selected "Windows
> Authentication", I have added the IIS_WPG, created a new account named
> SQLUSER, etc..
> Nothing seems to work. Every solution I have found so far on the web has
> to do with another application, most often it seems it is a .net issue.
> Basically I am trying to create forms via Frontpage to input and view data
> entered into a SQL db.
> Any help will be very much appriciated

Frontpage & MS SQL Connection Error-Please Help

Hi, I have 2 servers, both with Windows 2003 Standard edition. Servers
are NOT in a domain. The second server has SQL 2000, the first has IIS 6.0
Through OBDC (System DSN) I created a connection to the SQL db. Then on
my laptop I opened up frontpage to create a page to view the db results.
But, I get the this error when I select the "System Data Source on Web
Server":
"Login failed for user '(null)'. Reason: Not associated with a trusted
SQL Server connection"
I have been browsing through the web for some time now and can not seem
to get a direct resolution to this error.
On the SQL Server Management under Logins I have selected "Windows
Authentication", I have added the IIS_WPG, created a new account named
SQLUSER, etc..
Nothing seems to work. Every solution I have found so far on the web has
to do with another application, most often it seems it is a .net issue.
Basically I am trying to create forms via Frontpage to input and view
data entered into a SQL db.
Any help will be very much appriciated> "Login failed for user '(null)'. Reason: Not associated with a trusted SQL
> Server connection"
Should give you a clue. One server does not trust the other BECAUSE THEY ARE
NOT IN A DOMAIN.
There is no way for the SQL server to know anything about the IIS server, it
could be anything trying to hack into the SQL Server.
I don't know how to get IIS to log into SQL using SQL authentication either
but perhaps you could post that question to an IIS newsgroup.
The other option is to add them both to a domain and set up an account on
SQL that refers to the IIS account and this time they will be authenticated
via the Domain Controller.
--
Nik Marshall-Blank MCSD/MCDBA
"Sam White" <noSPAM@.Please.com> wrote in message
news:wuCdnbqhoqA4k6beRVn-3g@.giganews.com...
> Hi, I have 2 servers, both with Windows 2003 Standard edition. Servers are
> NOT in a domain. The second server has SQL 2000, the first has IIS 6.0
> Through OBDC (System DSN) I created a connection to the SQL db. Then on my
> laptop I opened up frontpage to create a page to view the db results. But,
> I get the this error when I select the "System Data Source on Web Server":
> "Login failed for user '(null)'. Reason: Not associated with a trusted SQL
> Server connection"
> I have been browsing through the web for some time now and can not seem to
> get a direct resolution to this error.
> On the SQL Server Management under Logins I have selected "Windows
> Authentication", I have added the IIS_WPG, created a new account named
> SQLUSER, etc..
> Nothing seems to work. Every solution I have found so far on the web has
> to do with another application, most often it seems it is a .net issue.
> Basically I am trying to create forms via Frontpage to input and view data
> entered into a SQL db.
> Any help will be very much appriciated

Frontpage & MS SQL Connection Error-Please Help

Hi, I have 2 servers, both with Windows 2003 Standard edition. Servers
are NOT in a domain. The second server has SQL 2000, the first has IIS 6.0
Through OBDC (System DSN) I created a connection to the SQL db. Then on
my laptop I opened up frontpage to create a page to view the db results.
But, I get the this error when I select the "System Data Source on Web
Server":
"Login failed for user '(null)'. Reason: Not associated with a trusted
SQL Server connection"
I have been browsing through the web for some time now and can not seem
to get a direct resolution to this error.
On the SQL Server Management under Logins I have selected "Windows
Authentication", I have added the IIS_WPG, created a new account named
SQLUSER, etc..
Nothing seems to work. Every solution I have found so far on the web has
to do with another application, most often it seems it is a .net issue.
Basically I am trying to create forms via Frontpage to input and view
data entered into a SQL db.
Any help will be very much appriciated
If you are not on a domain your best bet is probably to use SQL
Authentication. You will pass a user name and password from the web page to
SQL Server.
Keith
"Sam White" <noSPAM@.Please.com> wrote in message
news:wuCdnbihoqAZk6beRVn-3g@.giganews.com...
> Hi, I have 2 servers, both with Windows 2003 Standard edition. Servers are
> NOT in a domain. The second server has SQL 2000, the first has IIS 6.0
> Through OBDC (System DSN) I created a connection to the SQL db. Then on my
> laptop I opened up frontpage to create a page to view the db results. But,
> I get the this error when I select the "System Data Source on Web Server":
> "Login failed for user '(null)'. Reason: Not associated with a trusted SQL
> Server connection"
> I have been browsing through the web for some time now and can not seem to
> get a direct resolution to this error.
> On the SQL Server Management under Logins I have selected "Windows
> Authentication", I have added the IIS_WPG, created a new account named
> SQLUSER, etc..
> Nothing seems to work. Every solution I have found so far on the web has
> to do with another application, most often it seems it is a .net issue.
> Basically I am trying to create forms via Frontpage to input and view data
> entered into a SQL db.
> Any help will be very much appriciated
|||I meant to mention in my previous post that you can look up connection
string examples on www.connectionstrings.com
Keith
"Sam White" <noSPAM@.Please.com> wrote in message
news:wuCdnbihoqAZk6beRVn-3g@.giganews.com...
> Hi, I have 2 servers, both with Windows 2003 Standard edition. Servers are
> NOT in a domain. The second server has SQL 2000, the first has IIS 6.0
> Through OBDC (System DSN) I created a connection to the SQL db. Then on my
> laptop I opened up frontpage to create a page to view the db results. But,
> I get the this error when I select the "System Data Source on Web Server":
> "Login failed for user '(null)'. Reason: Not associated with a trusted SQL
> Server connection"
> I have been browsing through the web for some time now and can not seem to
> get a direct resolution to this error.
> On the SQL Server Management under Logins I have selected "Windows
> Authentication", I have added the IIS_WPG, created a new account named
> SQLUSER, etc..
> Nothing seems to work. Every solution I have found so far on the web has
> to do with another application, most often it seems it is a .net issue.
> Basically I am trying to create forms via Frontpage to input and view data
> entered into a SQL db.
> Any help will be very much appriciated
sql

Monday, March 12, 2012

Fresh RS Install - weird bug

Hi all,

My RS install is having a strange issue. I've installed RS on an IIS Server and pointed to a remote server database. The IIS server is secured using an internally issued SSL cert.

After some tweaking, I've been able to get RS to work (almost) properly. I'm able to deploy reports from Visual Studio and view them through the RS Web App. Of course, I have admin rights on this box.

My problem is this: The web app won't let me add a New Role Assignment for my users. The only Role Assignment is BUILTIN\Administrators. I need to add a "Browser Only" role for the users. When I click "New Role Assignment" from the project folder's security menu, it displays the New Role Assignment page. I type in the group name and click the Browser checkbox. Finally, I click the OK button, but nothing happens. Its like there isn't an event tied to the button. However, the Cancel and New Role buttons work just fine.

Why aren't my OK buttons working? This is the most bizzare issue, but it's completely halted my production. I've tried re-installing RS but am having the same issue. Please, any help will be much appreciated.

Even a quick workaround to edit folder security would be nice at this point.

Thanks!Couple things:

1. Is it possible that the web browser you are using has scripting disabled?
2. Do you see a warning icon at the bottom-left of the browser after you click OK?|||

Yes - we've seen this kind of behavior when you are using an Internet Browser that does not support scripting. In SQL Server 2005, Report Manager UI supports most operations in browsers other than Internet Explorer - but it is not perfect. Underneath the covers, we use different ways of implementing buttons so being able to click some but not others is a symptom of this problem.

If you have trouble doing this in report manager, you can use SQL Server Management Studio in SQL Server 2005 to do this as well.

Hope that helps,
-Lukasz
This posting is provided "AS IS" with no warranties, and confers no rights.

Fresh RS Install - weird bug

Hi all,

My RS install is having a strange issue. I've installed RS on an IIS Server and pointed to a remote server database. The IIS server is secured using an internally issued SSL cert.

After some tweaking, I've been able to get RS to work (almost) properly. I'm able to deploy reports from Visual Studio and view them through the RS Web App. Of course, I have admin rights on this box.

My problem is this: The web app won't let me add a New Role Assignment for my users. The only Role Assignment is BUILTIN\Administrators. I need to add a "Browser Only" role for the users. When I click "New Role Assignment" from the project folder's security menu, it displays the New Role Assignment page. I type in the group name and click the Browser checkbox. Finally, I click the OK button, but nothing happens. Its like there isn't an event tied to the button. However, the Cancel and New Role buttons work just fine.

Why aren't my OK buttons working? This is the most bizzare issue, but it's completely halted my production. I've tried re-installing RS but am having the same issue. Please, any help will be much appreciated.

Even a quick workaround to edit folder security would be nice at this point.

Thanks!Couple things:

1. Is it possible that the web browser you are using has scripting disabled?
2. Do you see a warning icon at the bottom-left of the browser after you click OK?|||

Yes - we've seen this kind of behavior when you are using an Internet Browser that does not support scripting. In SQL Server 2005, Report Manager UI supports most operations in browsers other than Internet Explorer - but it is not perfect. Underneath the covers, we use different ways of implementing buttons so being able to click some but not others is a symptom of this problem.

If you have trouble doing this in report manager, you can use SQL Server Management Studio in SQL Server 2005 to do this as well.

Hope that helps,
-Lukasz
This posting is provided "AS IS" with no warranties, and confers no rights.