|
|
 Rank: YAF Forumling
Joined: 9/4/2008 Posts: 1 Location: Denmark
|
Hi
I have tried to install YAF 1.9.1.8 on my win2003 server. but the system fail when it get to the 3. setup screen.
It cast this error...
Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Reference to undeclared entity 'b'. Line 2, position 33.
Source Error:
Line 1: <?xml version="1.0"?> Line 2: <configuration> Line 3: <configSections> Line 4: <section name="yafnet" type="yaf.SectionHandler,yaf"/> Any Idea about whats wrong?
I just copied default.config to web.config?
|
|
|
 Rank: YAF Forumling
Joined: 10/17/2008 Posts: 5 Location: Ukraine
|
I have the same problem. I created new virtual directory and renamed default.config file to web.config. And I have an error: Code: Connection failed. Modify Web.config and try again. The error message was: Reference to undeclared entity 'yafnet'. Line 2, position 37. (D:\websites\XXXXX\YAF\YAF-v1.9.1.8-FINAL-BIN\web.config line 2)
Help, please, how to solve the problem. Thank you!
|
|
|
Rank: Advanced Member

Joined: 3/16/2008 Posts: 72 Location: Las Vegas, NV USA
|
Did you setup your database connection string in the Yafnet.config?
|
|
|
 Rank: YAF Forumling
Joined: 10/17/2008 Posts: 5 Location: Ukraine
|
Yes, of course. When I set up connstr propertly a saw this problem. I tested it using VS 2008 and its developing server. The forum compiled and started form VS2008 without any problems. I got problem when tried set it on the Windows Server 2003 with MS SQL 2005 and IIS.
|
|
|
 Rank: YAF Forumling
Joined: 10/17/2008 Posts: 5 Location: Ukraine
|
The problem is still alive. YAFNET forum was installed to the root of virtual directory on IIS. I renamed default.config to web.config. Result - error. I added <root>{name of virtual directory}</root> element to the yafnet.config. But the problem was not solved. What can I do? Thank you!
Server Error in '/yaf' Application.
Configuration Error Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
Parser Error Message: Reference to undeclared entity 'yafnet'. Line 2, position 37.
Source Error:
Line 1: <?xml version="1.0"?> Line 2: <configuration> Line 3: <configSections> Line 4: <section name="yafnet" type="yaf.SectionHandler,yaf"/>
|
|
|
 Rank: YAF Forumling
Joined: 10/17/2008 Posts: 5 Location: Ukraine
|
Please help me to solve the problem... Thank you!
|
|
|
 Rank: YAF Head Dude

Joined: 10/10/2004 Posts: 3,050 Location: Honolulu, HI
|
Code:<?xml version="1.0" encoding="UTF-8"?> <configuration> <configSections> <section name="yafnet" type="yaf.SectionHandler,yaf" /> <section name="rewriter" type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter" /> </configSections>
<yafnet configSource="yafnet.config" />
"When you are grateful, fear disappears and abundance appears”." 
|
|
|
 Rank: YAF Forumling
Joined: 10/17/2008 Posts: 5 Location: Ukraine
|
Thank you! But I still cannot solve the problem. There is the same error. This is my web.config (yaf is in root of the virtual directory): Code: <?xml version="1.0" encoding="UTF-8"?> <configuration> <configSections> <section name="yafnet" type="yaf.SectionHandler,yaf" /> <section name="rewriter" type="Intelligencia.UrlRewriter.Configuration.RewriterConfigurationSectionHandler, Intelligencia.UrlRewriter" /> </configSections>
<yafnet configSource="yafnet.config" /> <rewriter configSource="urlrewriter.config"/> <system.web> <httpModules> <add type="Intelligencia.UrlRewriter.RewriterHttpModule,Intelligencia.UrlRewriter" name="UrlRewriter" /> </httpModules> <globalization requestEncoding="utf-8" responseEncoding="utf-8"/> <compilation defaultLanguage="c#" debug="false"/> <pages enableEventValidation="false" validateRequest="false" smartNavigation="false"/> <authentication mode="Forms"> <forms name=".YAFNET_Authentication" timeout="525600" /> </authentication> <customErrors defaultRedirect="error.aspx" mode="RemoteOnly"/> <!--trace enabled="true" pageOutput="true"/--> <xhtmlConformance mode="Legacy"/></system.web> </configuration>
I cannot understand where is the problem...
|
|
|
| Users browsing this topic |
|
Guest
|
YAFPro Theme Created by Jaben Cargman (Tiny Gecko)Powered by YAF 1.9.3 RC2 |
YAF © 2003-2008, Yet Another Forum.NETThis page was generated in 0.076 seconds.