Visual Web Ripper Logo Visual Web Ripper Logo
Welcome Guest Search | Active Topics | Log In | Register

Tag as favorite
Unable to run project from website.
manojbavikati
#1 Posted : Tuesday, November 23, 2010 2:26:12 PM
Groups: Registered
Joined: 11/23/2010
Posts: 14
My Project is running in the developer machine and i Have installed one license on the window server 2003. I can run the same project in visual web ripper but i cannot run it using web.

Is there anything i should do.

here is the code that i wrote was successful on the development machine. I am developing using vb.net.

Dim project As WrProject = WrProject.Load(System.Web.HttpContext.Current.Request.PhysicalApplicationPath & "CriminalSexOffender.rip")
project.ViewBrowserCollector = False
project.InputParameters.SetParameter("LastName", LastName)
project.InputParameters.SetParameter("FirstName", FirstName)
project.InputParameters.SetParameter("DOB", DOB)
Dim processor As WrProcessor = WrBrowserProcessor.RunProject(project)
Dim data As WrDataProject = project.GetCollectedData()

Once again the project is running on the vwd and also was able to get the output in development machine using visual studio 2008. The project is using .net 3.5 framework.
manojbavikati
#2 Posted : Tuesday, November 23, 2010 2:57:00 PM
Groups: Registered
Joined: 11/23/2010
Posts: 14
Exception information:
Exception type: NullReferenceException
Exception message: Object reference not set to an instance of an object.

This is what i see in the Event Viewer. But i have the project files in the main folder and also i have copied the Web Ripper project files into Documents and setting/Visual Web Ripper / projects folder also.

Let me know what i can do to make it work
manojbavikati
#3 Posted : Tuesday, November 23, 2010 4:05:38 PM
Groups: Registered
Joined: 11/23/2010
Posts: 14
I see that the project is not running in the webserver.

Dim processor As WrProcessor = WrBrowserProcessor.RunProject(project)

this part is not executing . It goes to the next line.

Dim data As WrDataProject = project.GetCollectedData()

and gives an exception saying the output file is not found

Please help ... Very Urgent Issue.



Sequentum Support
#4 Posted : Wednesday, November 24, 2010 12:06:11 AM

Groups: Administrators
Joined: 4/10/2010
Posts: 1,239
Location: Sydney, Australia
Check processor.Status to see what the problem is.

You're probably executing in a security context that doesn't have a license to use the software. To fix this problem you can use:

VisualWebRipperPath.SetServiceDocumentPath(project.Schedule.DocumentPath, project.Schedule.LocalAppPath)

but first you must ensure the project owner is set to a user that has a valid license. See this topic for more information about setting the project owner.

http://manual.visualwebr...ault.aspx?manual_id=3974
manojbavikati
#5 Posted : Wednesday, November 24, 2010 10:16:26 AM
Groups: Registered
Joined: 11/23/2010
Posts: 14
I did as you said but the project is not running. It gives me the following error in the event viewer.

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 11/24/2010 10:12:14 AM
Event time (UTC): 11/24/2010 4:12:14 PM
Event ID: 2adbcf3d066a4e8b94894dc6cad56075
Event sequence: 20
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: /LM/W3SVC/217558661/Root-4-129350886975625000
Trust level: Full
Application Virtual Path: /
Application Path: C:\HEART\
Machine name: WEB03

Process information:
Process ID: 3712
Process name: w3wp.exe
Account name: WEB03\Administrator

Exception information:
Exception type: Exception
Exception message: Ouput data file does not exist

Request information:
Request URL: http://WEB03.com/Process.aspx
Request path: /Process.aspx
User host address: 192.168.1.43
User:
Is authenticated: False
Authentication Type:
Thread account name: WEB03\Administrator

Thread information:
Thread ID: 12
Thread account name: WEB03\Administrator
Is impersonating: False
Stack trace: at VisualWebRipper.WrProject.DataOutputLastSegmentSequence()
at VisualWebRipper.WrProject.DataOutputFilePathLastSegment()
at VisualWebRipper.WrProject.GetCollectedData()
at HEARTweb.Core.Scrape(Int32 LicID, String LicNum, String ReportID) in C:\Source Code\HEART\HEARTweb\Core.vb:line 1545
at HEARTweb.Process.Page_Load(Object sender, EventArgs e) in C:\Source Code\HEART\HEARTweb\Process.aspx.vb:line 317
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Sequentum Support
#6 Posted : Wednesday, November 24, 2010 5:38:44 PM

Groups: Administrators
Joined: 4/10/2010
Posts: 1,239
Location: Sydney, Australia
So did you check processor.Status after running the project?
manojbavikati
#7 Posted : Wednesday, March 23, 2011 2:35:06 PM
Groups: Registered
Joined: 11/23/2010
Posts: 14
[quote=Sequentum Support]Check processor.Status to see what the problem is.

You're probably executing in a security context that doesn't have a license to use the software. To fix this problem you can use:

VisualWebRipperPath.SetServiceDocumentPath(project.Schedule.DocumentPath, project.Schedule.LocalAppPath)

but first you must ensure the project owner is set to a user that has a valid license. See this topic for more information about setting the project owner.

http://manual.visualwebr...ult.aspx?manual_id=3974[/quote]

VisualWebRipperPath.SetServiceDocumentPath(project.Schedule.DocumentPath, project.Schedule.LocalAppPath)

The above line is not recognised in the vb.net code. Do i need to import any references other than

Imports VisualWebRipper
Imports VisualWebRipper.Processor

Sequentum Support
#8 Posted : Thursday, March 24, 2011 3:37:34 AM

Groups: Administrators
Joined: 4/10/2010
Posts: 1,239
Location: Sydney, Australia
You need to use:

Import WebRipperUtils

and include the reference:

WebRipperUtils.dll
manojbavikati
#9 Posted : Thursday, March 24, 2011 11:42:25 AM
Groups: Registered
Joined: 11/23/2010
Posts: 14
My project doesnot run in the webserver . I see the following exception

Exception information:
Exception type: Exception
Exception message: Ouput data file does not exist

Stack trace: at VisualWebRipper.WrProject.DataOutputLastSegmentSequence()
at VisualWebRipper.WrProject.DataOutputFilePathLastSegment()
at VisualWebRipper.WrProject.GetCollectedData()


Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 3/24/2011 11:38:22 AM
Event time (UTC): 3/24/2011 4:38:22 PM
Event ID: 95d4f56a9b924a94b60b985f4720c336
Event sequence: 16
Event occurrence: 1
Event detail code: 0

Let me know where i went wrong. Thanks in advance.
manojbavikati
#10 Posted : Thursday, March 24, 2011 3:47:00 PM
Groups: Registered
Joined: 11/23/2010
Posts: 14
Please find the attached rip project and try to run it from a webpage and let me know if there are any issues. I am unable to find what the problem might be. I have tried all the solutions in this forum.

Let me know if you can replicate the problem and if you can then please send me a solution.
File Attachment(s):
CriminalSexOffenderNew.rip (121kb) downloaded 31 time(s).
Sequentum Support
#11 Posted : Friday, March 25, 2011 4:02:43 AM

Groups: Administrators
Joined: 4/10/2010
Posts: 1,239
Location: Sydney, Australia
The error is thrown because no data output exists. You need to check if the data output exists before trying to access it.

You can use:

project.HasDataOutput()
manojbavikati
#12 Posted : Friday, March 25, 2011 9:05:14 AM
Groups: Registered
Joined: 11/23/2010
Posts: 14
Dim processor As WrProcessor = WrBrowserProcessor.RunProject(project)

This is the point where i am getting an exception.

I have checked the Processor.status and it says

"INVALID LICENSE INFORMATION"

How would i fix this ??

I have installed one license on the web server and one license on my developer machine.

Thanks.
manojbavikati
#13 Posted : Tuesday, March 29, 2011 9:12:40 AM
Groups: Registered
Joined: 11/23/2010
Posts: 14
Any updates on the issue please ?
Sequentum Support
#14 Posted : Tuesday, April 19, 2011 3:07:23 AM

Groups: Administrators
Joined: 4/10/2010
Posts: 1,239
Location: Sydney, Australia
Please zip your entire Visual Studio project and post it in the support center:

http://support.visualwebripper.com
Users browsing this topic
Guest
Tag as favorite
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF 1.9.4 RC1 | YAF © 2003-2009, Yet Another Forum.NET
This page was generated in 0.140 seconds.