Showing posts with label website. Show all posts
Showing posts with label website. Show all posts

Wednesday, March 21, 2012

Deployment from SQL 2000 to SQL 2005

I will be moving my website from my local dev server to the live environment soon. I've been using SQL 2000 to develop, but the live DB is SQL 2005. My app uses exclusively stored procedures for all data access.

What suprises are in store for me when I migrate the site?!

Thanks, Jamie

If you don't have any DTS, scheduled tasks to worry about. Then the migration is very straight forward, personally, I have not encounter any problems. What I did is to script the entire DB's table def, indexes, sp, udf. Then run it once on 2005.

This article contains step-by-step process:http://www.aspfree.com/c/a/MS-SQL-Server/Moving-Data-from-SQL-Server-2000-to-SQL-Server-2005/

Monday, March 19, 2012

Deploying web app, which SQL files do I upload?..

I'm working on a web application that uses SQL Server 2000. Once I'm ready to upload my website to a production server, I need to know how to upload my SQL Server database files to the server. Are there actual files that can be uploaded? I've only deployed a website that works with MySQL to a production server, and there were no files to upload... the database had to be created on the server, and then the data itself had to be exported to text files (on my computer), then imported/uploaded to the production server using SQL statements...

How do I do this?

Thanks~::I need to know how to upload my SQL Server database files to the server.

Ask your provider, systemadministrator or whoever manages this.

Our hosting operation does NOT allow uploads of sql database fiules - you are supposed to create a new database and use the copy database wizard out of SQL Server's enterprise manager.|||hi
i saw http://europe.webmatrixhosting.net, do you know that all hosts provide like this host utilities to work with SQL Server? utilities like http://www.aspenterprisemanager.com??

i'm developing an asp.net storefront that uses SQL Server Database, but i'm worry about after developing that, i want to do what?!! how to manage my database?
tahnk

Sunday, March 11, 2012

Deploying Reporting Services Project ON SSL Secured Web Site

Hello Everyone,
I am new to reporting services and am trying to Deploy my RS project to a
SSL secured website. I am getting error "Could not establish trust
relationship for ssl/tls secure channel".
I did check the box ssl.
I other thing I noticed is when I go to the configuration surface for sql
server and click on reporting services features when I clik on windows
integrated security on that server it gives me error "The request failed with
HTTP Status 403: forbidden. (system.web.services).
Any help is greatly appreciated.
Thanks
Shabnam GuptaHi Shabam,
This I had last week as well, it was solved @. my side by referring to the
servername by it's actual name. First I was referring to it by "localhost".
After changing it to the actual server name the error went away.
Hope this helps for you.
Greetz
Perry
"Shabam Gupta" <ShabamGupta@.discussions.microsoft.com> wrote in message
news:554E1BD5-0435-4E0F-AB28-4AA470B288FA@.microsoft.com...
> Hello Everyone,
> I am new to reporting services and am trying to Deploy my RS project to a
> SSL secured website. I am getting error "Could not establish trust
> relationship for ssl/tls secure channel".
> I did check the box ssl.
> I other thing I noticed is when I go to the configuration surface for sql
> server and click on reporting services features when I clik on windows
> integrated security on that server it gives me error "The request failed
> with
> HTTP Status 403: forbidden. (system.web.services).
> Any help is greatly appreciated.
> Thanks
> Shabnam Gupta

Friday, March 9, 2012

Deploying Report application question

I've finally got a report project (2005) finished and I'd like to 'deploy'
it
I've set up a website on a network server (with IIS running). Then, I set up
the targetSiteURL to that url - but I get the dreaded error message:
"A connection could not be made to the report server...(url)"
Maybe I misunderstood - I thought I was deploying the project as a web app,
so all I'd need was a working website directory.
What am I missing?You've missed a critical part. You are deploying to Reporting Services.
Reporting Services is a asp.net application. You do need IIS but when you
install reporting services it will create the two websites it uses. When you
deploy your report VS uses webservices to send the report, the data sources,
etc to reporting services. It then stored the report definition in the
database. No rdl exists as a file on the server.
Reporting Services also ships with a portal called Report Manager that is
used for managing roles and other admin tasks as well as providing a portal
for users (if you want to use it, that is all I use but some people create
their own web front end).
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"Elmo Watson" <sm@.here.com> wrote in message
news:%23TJgNJiUIHA.4880@.TK2MSFTNGP03.phx.gbl...
> I've finally got a report project (2005) finished and I'd like to 'deploy'
> it
> I've set up a website on a network server (with IIS running). Then, I set
> up the targetSiteURL to that url - but I get the dreaded error message:
> "A connection could not be made to the report server...(url)"
> Maybe I misunderstood - I thought I was deploying the project as a web
> app, so all I'd need was a working website directory.
> What am I missing?
>
>|||Thanks - next question is, how do I install Reporting Services on the other
server, so that it will create the two websites?
Can I do it remotely, through Business Management Studio, or does it need to
be done with a CD on that server?
"Bruce L-C [MVP]" <bruce_lcNOSPAM@.hotmail.com> wrote in message
news:%23JJArQiUIHA.1164@.TK2MSFTNGP02.phx.gbl...
> You've missed a critical part. You are deploying to Reporting Services.
> Reporting Services is a asp.net application. You do need IIS but when you
> install reporting services it will create the two websites it uses. When
> you deploy your report VS uses webservices to send the report, the data
> sources, etc to reporting services. It then stored the report definition
> in the database. No rdl exists as a file on the server.
> Reporting Services also ships with a portal called Report Manager that is
> used for managing roles and other admin tasks as well as providing a
> portal for users (if you want to use it, that is all I use but some people
> create their own web front end).
>
> --
> Bruce Loehle-Conger
> MVP SQL Server Reporting Services
>
> "Elmo Watson" <sm@.here.com> wrote in message
> news:%23TJgNJiUIHA.4880@.TK2MSFTNGP03.phx.gbl...
>> I've finally got a report project (2005) finished and I'd like to
>> 'deploy' it
>> I've set up a website on a network server (with IIS running). Then, I set
>> up the targetSiteURL to that url - but I get the dreaded error message:
>> "A connection could not be made to the report server...(url)"
>> Maybe I misunderstood - I thought I was deploying the project as a web
>> app, so all I'd need was a working website directory.
>> What am I missing?
>>
>|||Business Management Studio is just for the development of the reports. As
you have seen you can develop reports without the server.
You need to get the media for SQL 2005 and install Reporting Services from
that. Besides IIS it also needs a database server somewhere. It creates two
databases that it uses for its metadata/object caching. The databases can
either be on the same box or a different box. Also, the DB can be either
2000 or 2005 for Reporting Services 2005. However, when installing RS 2005
you need a license for SQL 2005 even if you use SQL 2000 as your data store.
Bruce Loehle-Conger
MVP SQL Server Reporting Services
"Elmo Watson" <sm@.here.com> wrote in message
news:u7MvKciUIHA.5264@.TK2MSFTNGP02.phx.gbl...
> Thanks - next question is, how do I install Reporting Services on the
> other server, so that it will create the two websites?
> Can I do it remotely, through Business Management Studio, or does it need
> to be done with a CD on that server?
>
> "Bruce L-C [MVP]" <bruce_lcNOSPAM@.hotmail.com> wrote in message
> news:%23JJArQiUIHA.1164@.TK2MSFTNGP02.phx.gbl...
>> You've missed a critical part. You are deploying to Reporting Services.
>> Reporting Services is a asp.net application. You do need IIS but when you
>> install reporting services it will create the two websites it uses. When
>> you deploy your report VS uses webservices to send the report, the data
>> sources, etc to reporting services. It then stored the report definition
>> in the database. No rdl exists as a file on the server.
>> Reporting Services also ships with a portal called Report Manager that is
>> used for managing roles and other admin tasks as well as providing a
>> portal for users (if you want to use it, that is all I use but some
>> people create their own web front end).
>>
>> --
>> Bruce Loehle-Conger
>> MVP SQL Server Reporting Services
>>
>> "Elmo Watson" <sm@.here.com> wrote in message
>> news:%23TJgNJiUIHA.4880@.TK2MSFTNGP03.phx.gbl...
>> I've finally got a report project (2005) finished and I'd like to
>> 'deploy' it
>> I've set up a website on a network server (with IIS running). Then, I
>> set up the targetSiteURL to that url - but I get the dreaded error
>> message:
>> "A connection could not be made to the report server...(url)"
>> Maybe I misunderstood - I thought I was deploying the project as a web
>> app, so all I'd need was a working website directory.
>> What am I missing?
>>
>>
>

Wednesday, March 7, 2012

Deploying a website with user authentication - getting errors

I have built a site that uses form-based authentication. Am I correct in assuming that the users and passwords will be stored in the SQLServer database in the aspnetdb.mdf file? The website works great and the authentication works how I want it to. However, I've tried to copy over the file onto a remote machine. The first page is a login screen and this is displayed without any problems but as soon as I attempt to log in I get an error message of:

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: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)


I'm wondering if this is something to do with the fact I installed SQLServer Express edition on the remote machine. The website works no problem on the local machine in debug mode of Visual Studio 2005 (Professional Edition). I followed instructions to enable remote connections on SQLServer Express from a Microsoft support doc. If anybody can point me in the right direction I'll be very grateful as I've hit a wall here.

Did you check the connection string in web.config if it is pointing to the right server. Also, if you are using aspnetdb.mdf, you should have at least SQL Server Express edition installed on the machine hosting the website.

|||

Hi. Thanks for replying. The only connection string I have in my webconfig file is for an Oracle database that I access elsewhere in the website. Since the original website works in the debug mode of Vis Studio 2005 without any other connection string then I just copied the webconfig file over to the remote server as it was. Does that mean I have to add a connection string to the aspnetdb.mdf file? (The server has SQLServer Express installed on it.)

|||

Have a look at this and try adding a connectionstring to the server.
https://help.maximumasp.com/SmarterTicket/Customer/KBArticle.aspx?articleid=878

You might have to attach the local mdf file using this in the connection string.

AttachDBFilename=|DataDirectory|aspnet.mdf 
connectionStrings> <remove name="LocalSqlServer" /> <add name="LocalSqlServer" connectionString="data source=.\SQLEXPRESS;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|aspnetdb.mdf;User Instance=true" providerName="System.Data.SqlClient"/></connectionStrings>

Deploying a database witch uses the membership tables

I have a website that uses an SQL 2005 Express database, with the added aspnet_users, aspnet_roles tables etc' inside it.
(That is not an .mdf file, but in the databse itself)

Are there any guidelines for moving this kind of database to the deployment server, which also has SQL Express ?

Is it just a case of detach + attach ?

Hi,

Detach + Attach will ship the whole database (tables, sp, users....)

Regards