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.
i want to use threads in my C# asp.net web application. i m able to use static function in thread but when i use nonstatic function in my thread with the instance of class then it gives no error or exception but thread is not started and no functionlity in done in thread.
Can anybody help me 4 solving this problem. I need pure C# code not Html.
Hi, My Question:
I have created a web page with three combobox(drop down list) on it.
Is there any way to change the value of these combo's
1. Without changing them manually...
2. Without stateing property DEFAULT SELECT for individual combo's.
What i want is to change the values from an external script...
I need a page to print from a web page using the default printer and some specific settings (or the default ones). The requirement is that, because this is a step in a process that must be very efficient, no window pops up (like the printer dialog) and also that printing does not require a new window to be opened. IE 6 will be used exclusively.
AFAIK there is no way to bypass the printer dialogue. You can design the print page usign a print CSS style sheet (with media="print" in the tag) to get rid of any elements that don't need printed (navigation etc.), and the user can then simply use the print button.
Last Visit: 31-Dec-99 18:00 Last Update: 3-Oct-23 15:21