With VisualStudio.Net, i'm using an installer class with a custom action
on my setup project to ask the user a serial number. A "Textboxes"
dialog on the "user interface" provides the serial number string to an
overrided version of then install procedure, inside my installer class.
My problem is that the install sub is able to verify the serial number
entered, but then i can't stop/cancel the installation procedure.
When I tried to convert to Windows app to Web Application i get an error saying
"Error 4 'ASP.satori_recherche_aspx.GetTypeHashCode()': no suitable method found to override c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\websatoricontact\5f44883e\69c9d6e5\App_Web_ujyjcgyh.8.cs 3177
I'm pretty sure you can't just create a new form (Page) via its constructor, only the ASP.NET runtime will create Page objects during the request lifecycle. By the looks of things, you're trying to show another dialogue in the new form. Web applications work completely differently to WinForms apps, you'll find it very difficult to try and convert the UI code. I would suggest you try keeping as much business logic as possible and start the aspx (UI) coding from scratch since the code is totally different from WinForms.
Web / Win apps are so completely different that it's gonna be virtually impossible - and given that you're familiar with win apps, you'll find the "way to do things" is totally different (eg - you're trying to create a Page object etc....)
Perhaps a better way to do it would be to abstract as much functionality as possible into a middle tier - that way you're not furkin around with presentation code, then write a web UI from scratch...
I'll help if you need it..
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
I'm trying to access the contents of a remote file on a server using the IUSR, I have set all the security access that I know of on the server for the IUSR. (Unless I forgot something.)
(I'm using old school ASP)
I tried the following:
If the server doesn't have RW permission for the specific directoy, you won't be able to perform some actions for the directory.
If the server has an user control panel, Give permission to that directory for IUSR. It doesn't mean anything applying permissions to a specific file via scripting, because main subject is the server first.
I hoep that helps.
What a curious mind needs to discover knowledge is noting else than a pin-hole.
Read - Write permissions ... didn't think there for a second .
Ok, the IUSR has full control on the target folder. Please note that the asp script is trying to get the contents of a file that is running on a different server than the IIS server. The other server is using Windows Server 2003. Is, there any thing that you can think of that I doing wrong?
When I try and access a file on the IIS Server it works, but as soon as I try and access a files on the other server, I receive the "permission denied error"
The only programmers that are better than C programmers are those who code in 1's and 0's.....
I have created a simple web service that pulls product information from a database then encapsulates the data in object representations before returning the object to the client, One of the classes 'product' contains a property that holds a collection of quantities every thing ok the objects are searlized the data is in the right place etc but when cosuming the service from the client I am presented with a half baked proxy library with members not available and on my product class the property that returns a quantity collection returns a quantity is there a simple way around this or am i missing something. I would be very greatfull if someone could shed some light on this or put me in the right direction.
Last Visit: 31-Dec-99 18:00 Last Update: 26-Sep-23 18:26