|
Hi, i'm trying to get a service to create a process text file on a 2nd machine (xp) from a w2003k server. however it fails in a grand way when it tries to create a streamwriter on the xp box! i understand it may be to do with the account etc, but i've set the log on tab for the serviec to be admin but it still fails, i've tried 'p:\thisfolder' as well as '\\thismachine\thisfolder'.
Can anyone point me in the right direction as it's been days of hell on this one.
Thanks
Captain Willard and crew
-- modified at 10:02 Thursday 27th July, 2006
|
|
|
|
|
Mapped drives are stored in the user's profile, and services don't load the user's profile, instead using the default user profile. I'd use a UNC path. We found when doing scheduled backups remotely using NTBackup, scheduled with the Scheduled Tasks feature, for a mapped drive to work successfully, the user needed to be logged in. Switching to a UNC path meant that the user no longer needed to be logged in.
Network shares should be accessible by a service as long as either a) you use a domain account which has permission to write to the folder or b) the user account name and password on the client match with the same account name's password on the server.
You should check the NTFS permissions on the share as well as the share's permissions. Both need to allow the write for it to work. I normally just leave share permissions at Everyone/Full Control and rely on the NTFS permissions.
|
|
|
|
|
Cheers, i managed to get it sorted, i thought i'd had the right permissions set but seemingly didn't.
Dan.
Never get off the boat!
|
|
|
|
|
Is there a way to change managed assembly atrtibute programmatically? for example version number of a file.
warm Regards
Mush
-- modified at 1:19 Thursday 27th July, 2006
|
|
|
|
|
Hi everyone,
I have to convert video files on the fly and I should export some video frame as a jpg (and get video props - duration, etc...). This should be done in an asp.net page.
I've seen ffmpeg does the first work in an excellent way, but I have to execute the external exe... The problem that in hosted environment it's not possible...
Do you know if ther's a project that have already ported ffmpeg to .NET? Or if there's a wrapper for interfacing with ffmpeg dll? I've searched on the net but I found nothing...
For the second task (export some jpg and get info) in php there's ffmpeg-php ... Is there an equivalent project for asp.net?
These are the solutions I've found... If someone knows a different solution I'd appreciate it very very much!
thanks in advance...
|
|
|
|
|
hello friends..
I had Ms Sql Server 2000 installed on Xp machine..suddenly when i observed server's icon on taskbar.it stopped working..when i tried to start it..it couldnt..log file says server evaluation period expired..Is there any way to make it work..or start Sql server on my machine now...
plz help
|
|
|
|
|
SPend money to replace your timerware demo with a normal license.
|
|
|
|
|
one way to make it work is by unistalling it then cleaning up your registry manually.then reinstall it. however, like Dan said, you can spend money and buy the license.
Regards,
Hesbon.
|
|
|
|
|
Hi,
I hope this is the correct newsgroup for this question.
I am creating a test web service that I wish to extend.
The example I am working from suggests that Web Services can be called direct using HTTP GET, eg:
http://server/webServiceName.asmx/functionName?parameter=parameterValue
However when I try this I get the following error:
Request format is unrecognized for URL unexpectedly ending in '/functionName'.
It works fine if I first call the service, click on the public method and then invoke.
I am using IIS5.1, VisualStudio2005 and .NET 2.0
What am I doing wrong? (I even tried altering the IIS settings without success)
Thanks in advance
Andrew
|
|
|
|
|
Have you tried this below?
http://server/webServiceName.asmx?parameter=parameterValue
Mike Lasseter
|
|
|
|
|
Hi,
Yes, however this acts as though I have missed off the
?parameter=parameterValue section.
ie: It returns the usual page listing all the public methods for the web service as though I had used the basic URL: http://server/webServiceName.asmx
Any other suggestions/options?
Thanks Andrew
|
|
|
|
|
Hello,
Writing windows service in c++.Net 2005 it’s clear, but I’ve problems when I
Want to write a windows service in C++.Net 2005 but with unmanaged code.
I’ll appreciate if anyone can give me a clue/hint.
Thanks
|
|
|
|
|
The subject is really too involved to go into in a forum post. The best source I know of is 'Programming Server-Side Applications for Windows' by Jeffrey Richter and Jason D. Clark (Microsoft Press), but unfortunately I believe it's out of print.
You might be able to get a copy from Amazon Marketplace[^].
|
|
|
|
|
Hi all
Is it possible to anti-alias the edges of a rotated image using GDI+/.Net 2.0? I am rendering an image onto another and because it's rotated it'll have jaggies. I know that you can use InterpolationModes and SmoothingModes but it doesn't seem to affect the edges of the image against the background image.
Any pointers?
Thanks
|
|
|
|
|
I don't think so. But you could adjust the alpha values of 'all pixels at the edges' prior to call DrawImage. Probably this helps a bit...
|
|
|
|
|
Thanks mate. I forgot about trying that. I'm using PNG images so it should work.
Cheers!
|
|
|
|
|
I have a DataGridView object and I added a ContextMenuStrip control to the DataGridView.ContextMenu. This works well, if I right-click the datagrid view I get the context menu I wanted. The problem is, I would like to, just before the context menu appears perform a left click to also select the cell or row under the mouse at that moment. Not sure what is the best way to do this.
Thanks.
|
|
|
|
|
Hi, Johnny. This CellMouseDown event handler should work:
private void dataGridView_CellMouseDown(object sender, DataGridViewCellMouseEventArgs e)
{
if ((e.RowIndex >= 0) && (e.ColumnIndex >= 0))
{
dataGridView.Rows[e.RowIndex].Cells[e.ColumnIndex].Selected = true;
}
}
|
|
|
|
|
WOW, that was so simple, thanks a million times Andrew
|
|
|
|
|
Hi,
Scenario:
1. User opens browser on their laptop/desktop.
2. User connects to remote web application.
3. User browses and clicks required button on web application.
4. As a result of clicking the button the web application activates/calls a web service on the client machine.
5. The web service then makes call back to web application and downloads the required data.
No data is delivered to the client ALL that happens is the action in (4) that allows a method to be called in the client and then the data is requested after necessary security checks.
Note: The desktop/laptop will always have .NET Framework installed. The call to the web service will always be to the current desktop/laptop.
Is the above possible? If not is there any suggestions as to a possible solution.
Thanks in advance.
Andrew
P.S I have done what I require with all the actions being driven by actions/calls from the client standalone windows application.
|
|
|
|
|
Hi all I m new for .net and i m working on network system ...
my server name is "midserver" ..i was trying to create a new project with VS.Net named "test1" and i got error "The Default Web Access mode for this project is set to file share,but the project folder at 'http://midserver/test1' cannot be opend with the path'\\midserver\wwwroot$\test1' . The error returned was:
Unable to create Web project 'test1' . the UNC share'\\midserver\wwwroot$\test1' does not exist or you do not have access." ..
how i can overcome to this problem ..
thankyou in advance.
Life is not easy ,let's make it.
|
|
|
|
|
I don't want to be rude, but....
asprajesh wrote: the UNC share'\\midserver\wwwroot$\test1' does not exist or you do not have access
should give you a clue, why not try reading the error message first.
|
|
|
|
|
I'm working with a smart card and need to get the certificates in to the store. I don't know much about certificates but I think it's something wrong with the root-certificate. When I add it, it won't show up in the certificate list in IE. I get this fault message when I run the program:
Unhandled Exception: Microsoft.Web.Services2.Security.SecurityFault: The securit
y token could not be authenticated or authorized ---> System.Security.SecurityEx
ception: WSE537: The certificate's trust chain could not be verified with the fo
llowing reason: Ett internt certifikatkedjningsfel har inträffat.
Ett internt certifikatkedjningsfel har inträffat. = An Internal certification chain fault has occured.
I have search a lot on the internet but can find any thing about this.
Can any one help me or does any one know a good book about certificates in .Net?
//Ken Q
|
|
|
|
|
Hi
Is there any way I could use a TimeSpan as a interval for a Timer? milliseconds doesnt quite cover it when dealing with large intervals.
What I am making is a way for the application to get an event every day at the stroke of midnight. The code I use now is here:
This is for starting the timer with a interval that make is trigger on the exact hour of midnight.
DateTime now = DateTime.Now.AddDays(1);<br />
DateTime time2 = new DateTime(now.Year, now.Month, now.Day, 0, 0, 0);<br />
TimeSpan dif = time2 - DateTime.Now;<br />
<br />
timer1.Interval = (int)dif.TotalMilliseconds;<br />
timer1.Enabled = true;
If anyone know a more elegant way of doing this then PLEASE let me know. At least I want to get rid of the millisecond interval as a whole day is something more suited for TimeSpan object.
|
|
|
|
|
The Today property contains the current date at midnight.
TimeSpan dif = DateTime.Today.AddDays(1).Subtract(DateTime.Now);
---
b { font-weight: normal; }
|
|
|
|