|
I am doing manually
Regards,
LEE
|
|
|
|
|
Then you're in for a WORLD OF HURT!!!!!!!!
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
|
|
|
|
|
Hi all,
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:
fsDB=Server.CreateObject("Scripting.FileSystemObject");
var fileName = "\\" + "\\" + <server_name>+ "\\<dir>\\<dir>\\testfile.txt"
var remFileDB=fsDB.OpenTextFile(fileName, 1,false);
But I keep receiving the following:
Error Type:
Microsoft JScript runtime (0x800A0046)
Permission denied
Can anyone please help me.
Many Thanx
Regards,
The only programmers that are better than C programmers are those who code in 1's and 0's.....
Programm3r My Blog: ^_^
|
|
|
|
|
Programm3r wrote: remote file on a server using
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.
|
|
|
|
|
First of all thank yo very much for the reply.
JUNEYT wrote: If the server doesn't have RW permission
What do you refer to when talking about RW permissions.
Again .. Thanx
Regards,
The only programmers that are better than C programmers are those who code in 1's and 0's.....
Programm3r My Blog: ^_^
|
|
|
|
|
|
It's not the IUSR account you need - they're a local system account, only privleged to the one server.
|
|
|
|
|
Paddy Boyd wrote: It's not the IUSR account you need - they're a local system account, only privleged to the one server.
Could you please explain in some more detail, cause I don't really get what your saying.
Thanx for your reply.
Regards,
The only programmers that are better than C programmers are those who code in 1's and 0's.....
Programm3r My Blog: ^_^
|
|
|
|
|
The IUSR account is a local system account i.e. myMachine\IUSR etc. To access a file on another server you need a domain account e.g. mydomain\me .
As far as i can remember, IIS uses a different account when trying access network resources, but i can't remember what this might be.
You could always try running your site in anonymous mode, but using a domain user as the default.
|
|
|
|
|
Thank you for the help Paddy Boyd, I'll see what I can do.
Regards,
The only programmers that are better than C programmers are those who code in 1's and 0's.....
Programm3r My Blog: ^_^
|
|
|
|
|
Hi people
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.
Best Regards
Daniel
Dan
|
|
|
|
|
Hi!
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.
Thanx
|
|
|
|
|
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...
|
|
|
|
|
You mean an external javascript? You could use the dom functionality in javascript
Brad
Australian
- bryce on "Problems with Code Project"
*sigh* Maunder's been coding again...
|
|
|
|
|
thanx... Bradml
I did't gave it a try..
let me see what i get by using DOM
|
|
|
|
|
|
Both on the client side? - No.
But you can get your javascript to call back to a server side method using AJAX.
|
|
|
|
|
Guys,
I ask you as a guy that don't really do web dev.
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.
Hope someone can point me in the right direction.
Cheers
|
|
|
|
|
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.
|
|
|
|
|
does any one know how to implement adaptive interface capabilities?
|
|
|
|
|
That depends on what you mean by 'adaptive interface capabilities'?
|
|
|
|
|
It i try to create an object for the webform it is created but If I need another form's name I can't create the object.Kindly solve this problem.
Regards,
LEE
|
|
|
|
|
Hi..
I am using asp accessing sql database .It is giving time -out expired error.
the error occurs after select query.
SP
--
Bugs can neither be created nor be removed from software by a developer. They can only be converted from one form to another. The total number of bugs in the software always remain constant.
|
|
|
|
|
Your select statement is too big.
Brad
Australian
- Christian Graus on "Best books for VBscript"
A big thick one, so you can whack yourself on the head with it.
|
|
|
|
|
Or your timeout too small...
|
|
|
|