that is what baffled me. By right the Media Processor should use the default account that the ASP is executed under. I did a test page today (running on Server 2):
Code:
Dim ServerPath
ServerPath = "\\x.x.x.x\Z"
Dim objFSO
Set objFSO = Server.CreateObject("Scripting.FileSystemObject")
Dim objTextStream
Set objTextStream = bjFSO.OpenTextFile(ServerPath & "\abc.txt", 1)
Response.Write objTextStream.ReadAll
objTextStream.Close
Set objTextStream = Nothing
Set objFSO = Nothing
VideoPath = ServerPath & "\abc.wmv"
Set objMediaProcessor = Server.CreateObject("COMobjectsNET.MediaProcessor")
objMediaProcessor.LoadFromFile VideoPath
Response.Write "<br>" & objMediaProcessor.Width
Then i go to Server1 and check the event logs for login. it shows 2 login (the default asp username account, and the Server2 name!!!). The above code is in one ASP page.
If i just use Part 1 code, the logs shows 1 login (default asp account).
But when i use Part 2 code, the logs shows 2 login (default asp acc and Server2 name).
I did a full test on this. My findings are wierd:
1. When loading a picture (.jpg), MediaProcessor is using the default asp account
2. When loading a 3gp video, MediaProcessor is also using the default asp account.
3. BUT when loading a wmv video, MediaProcessor is using default AND Server2 name to access the file!!!!
Please kindly help.