PC Review


Reply
Thread Tools Rate Thread

application set up project

 
 
Liming
Guest
Posts: n/a
 
      20th Aug 2006
Hi,

We have a web application and we want to create a few setup .aspx pages
for users to configure setup parameters and then we would take cares of
updating web.config connection string, setup database/tables/store
procedures.

I'm wondering what is the best way to do this?

I know for the default .NET 2.0 features likes membership, profiles and
what not, I can use Management.SqlServices to do create the databases
programmetically. What about my own databases, tables and store
procedures. Is there any easy way to use .net to execute a few .sql
scripts programmetically and have everything setup?

Thanks a lot

 
Reply With Quote
 
 
 
 
Ken Cox [Microsoft MVP]
Guest
Posts: n/a
 
      21st Aug 2006
An ASP.NET page can execute a script if it has the proper permissions. Just
use

Process.Start ()

http://msdn2.microsoft.com/en-us/lib...ess.start.aspx

Is that what you meant?

Ken
Microsoft MVP [ASP.NET]


"Liming" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> We have a web application and we want to create a few setup .aspx pages
> for users to configure setup parameters and then we would take cares of
> updating web.config connection string, setup database/tables/store
> procedures.
>
> I'm wondering what is the best way to do this?
>
> I know for the default .NET 2.0 features likes membership, profiles and
> what not, I can use Management.SqlServices to do create the databases
> programmetically. What about my own databases, tables and store
> procedures. Is there any easy way to use .net to execute a few .sql
> scripts programmetically and have everything setup?
>
> Thanks a lot
>



 
Reply With Quote
 
Liming
Guest
Posts: n/a
 
      22nd Aug 2006
Thanks Ken.

After some researching on Process.Start() I think that's what I needed.


Really appreicate it.

Liming

Ken Cox [Microsoft MVP] wrote:
> An ASP.NET page can execute a script if it has the proper permissions. Just
> use
>
> Process.Start ()
>
> http://msdn2.microsoft.com/en-us/lib...ess.start.aspx
>
> Is that what you meant?
>
> Ken
> Microsoft MVP [ASP.NET]
>
>
> "Liming" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > Hi,
> >
> > We have a web application and we want to create a few setup .aspx pages
> > for users to configure setup parameters and then we would take cares of
> > updating web.config connection string, setup database/tables/store
> > procedures.
> >
> > I'm wondering what is the best way to do this?
> >
> > I know for the default .NET 2.0 features likes membership, profiles and
> > what not, I can use Management.SqlServices to do create the databases
> > programmetically. What about my own databases, tables and store
> > procedures. Is there any easy way to use .net to execute a few .sql
> > scripts programmetically and have everything setup?
> >
> > Thanks a lot
> >


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VS 2005 Web Site Project vs Web Application Project rmgalante@galaware.com Microsoft ASP .NET 0 28th Jan 2008 08:18 PM
compile errors when converting web site project to web application project John Dalberg Microsoft ASP .NET 1 28th Mar 2007 01:54 AM
Web Site Project vs Web Application Project Ethan V Microsoft ASP .NET 2 25th Jun 2006 05:10 PM
Application for project 'http://localhost/project' is not installed Simon Kennedy Microsoft ASP .NET 0 4th Jan 2006 12:38 AM
Why does updating a web reference in a web application project require the project file to be checked out? Headdeball Microsoft ASP .NET 0 22nd Mar 2004 07:37 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:10 PM.