Welcome Guest Search | Active Topics | Members | Log In | Register

Compiling Errors
Ken Offline
#1 Posted : Wednesday, December 30, 2009 9:09:19 AM(UTC)
Rank: YAF Forumling

Joined: 12/30/2009(UTC)
Posts: 4
Location: United States

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Hello!

I just registed here, and downloaded the source files. I extracted the source files, and opened them in Visual Studio 2008 Professional. I tried to compile the software and I got 71 errors and 7 warnings.

I received this error several times, and I have a feeling its causing most of the other errors.

Quote:
Warning 1 Use command line option '/keyfile' or appropriate project settings instead of 'AssemblyKeyFile' C:\Users\Ken\Desktop\YAF-v1.9.4-RC1-SRC\YAF.Classes\YAF.Classes.Config\Properties\AssemblyInfo.cs 41 12 YAF.Classes.Config


When I highlight the error it takes me to this line

Code:

[assembly: AssemblyKeyFile("..\\..\\YetAnotherForum.NET.snk")]


Does anyone have any ideas?
Ken Offline
#2 Posted : Wednesday, December 30, 2009 12:14:01 PM(UTC)
Rank: YAF Forumling

Joined: 12/30/2009(UTC)
Posts: 4
Location: United States

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
I've copied over the DLL files into /bin. It fixed the errors I was getting but now I'm getting more errors.

Edit: Everything compiles except the web application.

Quote:

Error 15 The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Ken\Desktop\YAF-v1.9.4-RC1-SRC\YetAnotherForum.NET\App_Code\YAF\Utilities\MetaWeblog.cs 99 7 C:\...\YetAnotherForum.NET\

Error 16 The best overloaded method match for 'YAF.Utilities.MetaWeblog.newPost(string, string, string, YAF.Utilities.MetaWeblog.Post, bool)' has some invalid arguments C:\Users\Ken\Desktop\YAF-v1.9.4-RC1-SRC\YetAnotherForum.NET\App_Code\YAF\Utilities\MetaWeblog.cs 103 14 C:\...\YetAnotherForum.NET\

Error 17 Argument '4': cannot convert from 'var' to 'YAF.Utilities.MetaWeblog.Post' C:\Users\Ken\Desktop\YAF-v1.9.4-RC1-SRC\YetAnotherForum.NET\App_Code\YAF\Utilities\MetaWeblog.cs 103 50 C:\...\YetAnotherForum.NET\

Error 18 The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Ken\Desktop\YAF-v1.9.4-RC1-SRC\YetAnotherForum.NET\App_Code\YAF\Modules\PageLogoHandlerModule.cs 59 7 C:\...\YetAnotherForum.NET\

Error 19 The type or namespace name 'var' could not be found (are you missing a using directive or an assembly reference?) C:\Users\Ken\Desktop\YAF-v1.9.4-RC1-SRC\YetAnotherForum.NET\App_Code\YAF\Modules\PageLogoHandlerModule.cs 60 7 C:\...\YetAnotherForum.NET\

Error 21 The name 'ScriptManager' does not exist in the current context C:\Users\Ken\Desktop\YAF-v1.9.4-RC1-SRC\YetAnotherForum.NET\App_Code\YAF\Modules\PagePopupModule.cs 121 13 C:\...\YetAnotherForum.NET\

Error 29 Argument '1': cannot convert from 'var' to 'System.Web.UI.Control' C:\Users\Ken\Desktop\YAF-v1.9.4-RC1-SRC\YetAnotherForum.NET\App_Code\YAF\Forum.cs 301 22 C:\...\YetAnotherForum.NET\
Jaben Offline
#3 Posted : Wednesday, December 30, 2009 1:03:54 PM(UTC)

Rank: YAF Head Dude

Medals: Medal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.Medal of Honor for the Support King: Given to a community member who tirelessly answers tons of support questions.

Joined: 10/9/2004(UTC)
Posts: 4,152
Location: Raleigh, NC

Thanks: 35 times
Was thanked: 94 time(s) in 49 post(s)
you have no web.config.
"I have a simple philosophy: Fill what's empty. Empty what's full. Scratch where it itches.”.

Ken Offline
#4 Posted : Wednesday, December 30, 2009 1:07:28 PM(UTC)
Rank: YAF Forumling

Joined: 12/30/2009(UTC)
Posts: 4
Location: United States

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Jaben wrote:
you have no web.config.


I got that part after I posted by searching for other people with the same problem. I have not done any web programming before, so I have no idea what that means.

I seen many posts about getting a web.config file. I have no idea where to get one or what to do with it.

That's why I wanted to look at this source code so I can hopefully learn something from it.

Thanks.
crest Offline
#5 Posted : Friday, January 15, 2010 12:03:47 AM(UTC)
Rank: YAF Forumling

Joined: 1/14/2010(UTC)
Posts: 1
Location: india

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
I seen many posts about getting a web.config file. I have no idea where to get one or what to do with it.
Jaben Offline
#6 Posted : Friday, January 15, 2010 1:42:43 AM(UTC)

Rank: YAF Head Dude

Medals: Medal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.Medal of Honor for the Support King: Given to a community member who tirelessly answers tons of support questions.

Joined: 10/9/2004(UTC)
Posts: 4,152
Location: Raleigh, NC

Thanks: 35 times
Was thanked: 94 time(s) in 49 post(s)
crest wrote:
I seen many posts about getting a web.config file. I have no idea where to get one or what to do with it.

It's not the responsibility of the YAF project to educate users how to use ASP.NET software. There are certain requirements in using web development tools. If you do not know something, it is YOUR responsibility to do a search for information regarding it.

It's not complex: there are tons of resources, folks.
"I have a simple philosophy: Fill what's empty. Empty what's full. Scratch where it itches.”.

Ken Offline
#7 Posted : Friday, January 15, 2010 8:24:03 AM(UTC)
Rank: YAF Forumling

Joined: 12/30/2009(UTC)
Posts: 4
Location: United States

Thanks: 0 times
Was thanked: 0 time(s) in 0 post(s)
Jaben wrote:
crest wrote:
I seen many posts about getting a web.config file. I have no idea where to get one or what to do with it.

It's not the responsibility of the YAF project to educate users how to use ASP.NET software. There are certain requirements in using web development tools. If you do not know something, it is YOUR responsibility to do a search for information regarding it.

It's not complex: there are tons of resources, folks.


Fuck You. Flapper
JP Offline
#8 Posted : Sunday, January 31, 2010 9:09:16 AM(UTC)
Rank: YAF Lover

Joined: 1/8/2009(UTC)
Posts: 44
Location: Sweden

Thanks: 0 times
Was thanked: 2 time(s) in 2 post(s)
Tssk, tssk... What a language to use on a friendly and helpful site...

I downloaded the source today, and got it compiling well after having exactly the same issues you described...

You need a web.config, so just copy the recommended_web_config from the /webconfigs folder to the application root and rename it to web.config and you should be good to go... I of course used the web.config from my own site installation.
Seems to me you have not tried to install YAF "as is" in a website yet since you ask for a web.config...

So, first see if you can set up a website on your computer actually running YAF - when that is done, you have a web.config that works, use that in the C# project. The recommended_web_config file supplied should work fine for a default install (after renaming it to web.config).


Had a couple of issues myself, but my friend Mr Google helped me solve them...
He who asks a question is a fool for five minutes. He who does not ask a question remains a fool forever. [Old Chinese Proverb]
Jaben Offline
#9 Posted : Sunday, January 31, 2010 10:43:33 AM(UTC)

Rank: YAF Head Dude

Medals: Medal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.Medal of Honor for the Support King: Given to a community member who tirelessly answers tons of support questions.

Joined: 10/9/2004(UTC)
Posts: 4,152
Location: Raleigh, NC

Thanks: 35 times
Was thanked: 94 time(s) in 49 post(s)
Ken wrote:
Jaben wrote:
crest wrote:
I seen many posts about getting a web.config file. I have no idea where to get one or what to do with it.

It's not the responsibility of the YAF project to educate users how to use ASP.NET software. There are certain requirements in using web development tools. If you do not know something, it is YOUR responsibility to do a search for information regarding it.

It's not complex: there are tons of resources, folks.


Fuck You. Flapper

I'm not very proud of my response, but seriously dude, tell me how you really feel.

Thankfully there are plenty of generous and intelligent people who are involved in YAF. Otherwise, if it was just people like "Ken", I'd probably have scrapped this project a long time ago.
"I have a simple philosophy: Fill what's empty. Empty what's full. Scratch where it itches.”.

Users browsing this topic
Guest
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.

YAFPro Theme Created by Jaben Cargman (Tiny Gecko)
Powered by YAF 1.9.4 RC4 | YAF © 2003-2010, Yet Another Forum.NET
This page was generated in 0.252 seconds.