How to config live writer?

Jul 26, 2007 at 1:51 PM
I tried to use live writer, but I don't kown how to config it.
Can anybody tell me?
Jul 26, 2007 at 3:08 PM
You can use the following wiki page to get the basic configuration (http://www.dotnetblogengine.net/wiki/MetaweblogAPI.ashx). I ran into this issue...

You will enter your blog address: http://www.yourname.com
You will enter the post address: http://www.yourname.com/blog/metaweblog.axd

When you preview your blog after posting in Live Writer you will be redirected to http://www.yourname.com/blog. You need to edit your weblog settings. There you will have to change the http://www.yourname.com/blog to http://www.yourname.com.
Jul 27, 2007 at 1:07 PM
Thank you rclarkson.
Jul 30, 2007 at 9:05 AM
Edited Jul 30, 2007 at 9:27 AM
The metaweblog API won't work when I added the following code to web.config

<authorization>
<deny users="?"/>
</authorization>

Why?
Jul 31, 2007 at 3:28 PM
I just get the following error:

Server Error 0 Occurred

Input string was not in a correct format.

any ideas?
Jul 31, 2007 at 4:33 PM
following the above publishing error I now get the following when I try to view the blog ;(

Input string was not in a correct format.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.FormatException: Input string was not in a correct format.

Source Error:


Line 42: {
Line 43: int number = BlogSettings.Instance.NumberOfRecentPosts;
Line 44: if (number > Post.Posts.Count)
Line 45: number = Post.Posts.Count;
Line 46:


Source File: e:\websites\offbeatmammal.com\subdomains\blog\httpdocs\App_Code\Controls\RecentPosts.cs Line: 44
Jul 31, 2007 at 5:00 PM
Which version are you using? This is where I would start....

1. Was there html that was put in the blog entry that could cause this?
2. What happens if you delete the last entry?
3. If your cookie is still valid, can you go straight to the admin pages and try to modify the entry that is the issue. Or any entries for that matter?


OffBeatMammal wrote:
following the above publishing error I now get the following when I try to view the blog ;(

Input string was not in a correct format.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.FormatException: Input string was not in a correct format.

Source Error:


Line 42: {
Line 43: int number = BlogSettings.Instance.NumberOfRecentPosts;
Line 44: if (number > Post.Posts.Count)
Line 45: number = Post.Posts.Count;
Line 46:


Source File: e:\websites\offbeatmammal.com\subdomains\blog\httpdocs\App_Code\Controls\RecentPosts.cs Line: 44

Jul 31, 2007 at 5:36 PM
BlogEngine is the current "get" version.. no patches, just downloaded and installed.
Live Writer is the current beta from writer.live.com
The only HTML in the post was a hyperlink

I'll delete the provider from WLW and try again...

rclarkson wrote:
Which version are you using? This is where I would start....

1. Was there html that was put in the blog entry that could cause this?
2. What happens if you delete the last entry?
3. If your cookie is still valid, can you go straight to the admin pages and try to modify the entry that is the issue. Or any entries for that matter?


OffBeatMammal wrote:
following the above publishing error I now get the following when I try to view the blog ;(

Input string was not in a correct format.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.FormatException: Input string was not in a correct format.

Source Error:


Line 42: {
Line 43: int number = BlogSettings.Instance.NumberOfRecentPosts;
Line 44: if (number > Post.Posts.Count)
Line 45: number = Post.Posts.Count;
Line 46:


Source File: e:\websites\offbeatmammal.com\subdomains\blog\httpdocs\App_Code\Controls\RecentPosts.cs Line: 44


Jul 31, 2007 at 5:39 PM
re-defined the provider in WLW and all seems okay now with a reload of the original file.

all is good in my world ;)
Aug 1, 2007 at 2:03 AM
Anybody kown this?

howej wrote:
The metaweblog API won't work when I added the following code to web.config

<authorization>
<deny users="?"/>
</authorization>

Why?

Aug 1, 2007 at 2:55 PM
AUTHORIZATION
This section sets the authorization policies of the application. You can allow or deny access
to application resources by user or role. Wildcards: "*" mean everyone, "?" means anonymous
(unauthenticated) users.

therefore in your example below you're blocking unauthenticated users. The userid and password you supply for the Metablogapi are not authenticating against the server, just the API


howej wrote:
Anybody kown this?

howej wrote:
The metaweblog API won't work when I added the following code to web.config

<authorization>
<deny users="?"/>
</authorization>

Why?


Aug 3, 2007 at 6:45 AM
I kown the reason, but don't kown how to sovle it.


OffBeatMammal wrote:
AUTHORIZATION
This section sets the authorization policies of the application. You can allow or deny access
to application resources by user or role. Wildcards: "*" mean everyone, "?" means anonymous
(unauthenticated) users.

therefore in your example below you're blocking unauthenticated users. The userid and password you supply for the Metablogapi are not authenticating against the server, just the API


howej wrote:
Anybody kown this?

howej wrote:
The metaweblog API won't work when I added the following code to web.config

<authorization>
<deny users="?"/>
</authorization>

Why?



Aug 3, 2007 at 3:49 PM
take the block out again

howej wrote:
I kown the reason, but don't kown how to sovle it.


OffBeatMammal wrote:
AUTHORIZATION
This section sets the authorization policies of the application. You can allow or deny access
to application resources by user or role. Wildcards: "*" mean everyone, "?" means anonymous
(unauthenticated) users.

therefore in your example below you're blocking unauthenticated users. The userid and password you supply for the Metablogapi are not authenticating against the server, just the API


howej wrote:
Anybody kown this?

howej wrote:
The metaweblog API won't work when I added the following code to web.config

<authorization>
<deny users="?"/>
</authorization>

Why?