i built the project and it gave the following error
Error 2 CREATE ASSEMBLY for assembly 'Arachnode.Functions' failed because assembly 'Arachnode.Functions' is not authorized for PERMISSION_SET = UNSAFE. The assembly is authorized when either of the following is true: the database owner (DBO) has UNSAFE ASSEMBLY permission and the database has the TRUSTWORTHY database property on; or the assembly is signed with a certificate or an asymmetric key that has a corresponding login with UNSAFE ASSEMBLY permission. Functions
however it started running inspite of this exception, but on running it gave the following exception but it keeps on running
System.TypeInitializationException was unhandled Message="The type initializer for 'Arachnode.Console.Program' threw an exception." Source="Arachnode.Console" TypeName="Arachnode.Console.Program" StackTrace: at Arachnode.Console.Program.Main() at System.AppDomain.nExecuteAssembly(Assembly assembly, String args) at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String args) at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() at System.Threading.ThreadHelper.ThreadStart_Context(Object state) at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.ThreadHelper.ThreadStart()
Note: i have made the console project as 'start up' project and also executed the alter command 'ALTER DATABASE [arachnode.net] SET TRUSTWORTHY ON'
i am using the 2005 version, not switched to 2008 yet, you guys launched the 2008 in midway
i wonder why these errors are comming
also how to setup crawling restrictions and where to specify crawling url, and how to know if the crawler is running, where to check the indeces and where to query the indexed data, i'd be thankful
Is SQL set up for remote connections?
Once you get it crawling I can answer the other questions... (tired... )
Also, thanks for answering, Megetron!
[EDIT: You will need to run the RESET procedure in the DB the first time you run AN]
For best service when you require assistance:
Hello and welcme to AN.
Make sure you have run stored procedure called: arachnode_usp_arachnode.net_RESET_DATABASE and make sure you are using SQL2005 database file when restore.
check that: http://arachnode.net/forums/p/303/10444.aspx#10444
to start crawling set CrawlRequest table. to create a crawl restriction you can always create a new rule (for refference check the absoluteuri.cs) to know crawl is running is simple, when pressing F5 on cnsole mode you will get the black command window that will prompt you with the current actions. you can check indexs on webpages table and disallowedabsoluteuri table is a very important table there you find all of the uris that did not pass your rule/restriction,
to query the data create your own plugin if needed. for refference check Anonymizer.cs which is the most simple one.
Have nice crawling.