If you are not happy with the question there is a better way of putting it. Either ask to be more specific or ignore it (don’t bother as you mention). All of your writing is absolutely unnecessary and doesn’t help anyone.
The reason I didn’t provide any code is because I know is only a line or two of code and yes I have search the web for it prior to my posting.
I have got it working using reflection and I want to make it work without reflection.
Sys.WebForms.PageRequestManagerParserErrorException: The message recieved from the server could not be<br />
parsed. Common causes for this error are when the response is modified by calls to Response.Write(), response<br />
filters, HttpModules, or server trace is enabled<br />
Details: Error parsing near '<script language='ja'
The system complains because you are doing something very insecure. I think you can turn this off with PageValidation or something, but rather find another way. I suggest you try that in the Web or ASP.NET forum.
I am having some serious problems using the built-in setup project in VS2005. During installation users can check if they want a client programm installation, a client installation including database (and database server) or only database (including database server).
Depending on what the user chooses I'd like to show a different setup dialog.
i.e. user chooses client -> install -> ready
user chooses client incl. database -> show dialog with textboxes for servername/databasename
Is it possible to include a user-defined customizable dialog in the setup project?
Is it possible to define different "ways" in a setup project? (on a) show this dialogue, on b) show another dialogue)
I don't think it's possible to insert custom dialogs into an Installation using a Visual Studio Setup Project. You can customize the dialogs that are already available, but that's about it. For fine grained control over the setup project you'll need to use some other Installer package to create your MSI file. Orca is Microsoft's basic MSI file editor: http://support.microsoft.com/kb/255905[^]
That being said, I've run into the same situation. What I did was customize one of the existing dialogs to allow the user to select a Client (no DB) or Server (lots of DB) installation, and then pass that choice into a Custom Action DLL that performed any configuration items that the MSI wasn't able to handle (that included my DB setup). The custom action can do whatever you want, so I handrolled a dialog sequence that prompted for the DB login info (and a bunch of other stuff) and then went to work beating Windows into submission using C#.
My application depends on a sql server database I want to deploy my project in the client machine with out deploying the sql server express edition because it take some disk space and it some times cause some problems in its deployment(mainly if user don't have any experience).Is there any way to overcome this situation.
Right-click your project and add a new installer class. Within your installer class add following code
Public Overrides Sub Install(ByVal stateSaver As _
' Creates the database.
ExecuteSql("master", "CREATE DATABASE dbTest")
' Creates the tables.
ExecuteSql(strDBName, "CREATE TABLE .....")
Catch ex As Exception
' Reports any errors and abort.
I found this code in the net. Although it is written in vb.net it may help you.
thanks for help,
but does it will work on a client without installing any version of sql server.The main problem is that the user will use the database as a flat database like the access database.
is there a sql engine in framework 2 to attache the database to it.
most SMTP servers limit sending messages to 600 per hour, my application enables user to send
mail message to more than the limited number so I want to know how to get the count of messages sent in the current hour to inform user that there may be some messages will be send after an amount of time.
Last Visit: 1-Apr-20 5:18 Last Update: 1-Apr-20 5:18