MVC :: Posts Not Working In New Environment?

Jul 22, 2010

I have a project in VS 2010 and works great in my dev environment, including a single post that has the def:

[Code]....

But when I publish to another box, I get an error "Could not instantiate file name generator.". This only occurs on the post, all the other ActionResults work fine.

View 2 Replies


Similar Messages:

Configuration :: Application Is Working Fine In Local Environment But Not Working After Push Code In Live

Aug 19, 2010

My application is working fine in local environment but not working after push code in live. My locale environment and hosting environment both are having same configuration. Same app working fine 2 month before but in different domain but same hosting server.

how to check the both config / any possible to run debug mode in hosting server please let me know. below code used in all page for checking user session status but when I click on any link page redirect to login.aspx I think session got timeout. I don't know why session got time frequently, but this issue not happening in local environment (desktop).

[Code]....
[Code]....

View 6 Replies

AJAX :: Not Working In Production Environment

Nov 29, 2010

I developed a web page using asp.net 2.0 and ajax toolkit on my laptop on Windows 7 and IIS 6. I have my ajax/atlas toolkit DLL in my bin. The updatePanel works fine and does not postback my page. But when i hosted my website on a dedicated server the page postback totally like i have no updatepanel/ajax in my page...

I am using : Windows server 2008, IIS 6Ajax 2.0 installed on the server. I don t understand what is the difference with windows server or IIS or something else?

View 5 Replies

Configuration :: Asp Menu Working In Dev Environment But Not On The Server?

Sep 17, 2010

have added an asp menu to my site which i populate depending on the user/group from an entity framework object using a re-entrant function. This successfully adds menu items with associated child menu's to level n in the development environment.The problem comes when i publish to the server. when i view the published site the menu view changes and instead of a nice neat menu bar it shows a big list of the correct menuitems in a flat structure blanking out the rest of the page(asp menu is set to horizontal normally)server - windows server 2003 x64 - iis6 - asp 4.0.30319 + net4 framework packsdev - windows 7 - Visual studio 2010i am checking both sites with the same browsers so its not a browser issue.

View 6 Replies

Web Forms :: Asp Menu Working Fine In The Dev Environment But Not On Server

Sep 17, 2010

I am sorry to be asking what is probably a really stupid question, but i have a problem with my asp menu, when i run it on my dev machine(thru vs2010) it works perfectly, all the menu's are displayed correctly with the correct child items in the correct order but when i publish it to the server all the menu items become flat and take up the whole page. I am populating the menu using a reentrant function as follows to call the function and add the menus i am using

Dim childMenuItems As List(Of MenuItem) = CreateMenuLevel(0, uniquemenulist)
childMenuItems.ForEach(Sub(n) NavigationMenu.Items.Add(n))
Public Function CreateMenuLevel(ByVal parentId As Integer, ByVal menulist As List(Of MenuList)) As List(Of MenuItem)
Dim menuItems As New List(Of MenuItem)
For Each menuListItem As MenuList In menulist.Where(Function(n) n.ParentId = parentId)
Dim MenuItem As New MenuItem
If (Not String.IsNullOrEmpty(menuListItem.PagePath)) Then
MenuItem.NavigateUrl = menuListItem.PagePath
End If
MenuItem.Text = menuListItem.MenuName
MenuItem.Selectable = True
MenuItem.Enabled = True
menuItems.Add(MenuItem)
Dim childMenuItems As List(Of MenuItem) = createMenuLevel(menuListItem.MenuId, menulist)
childMenuItems.ForEach(Sub(n) MenuItem.ChildItems.Add(n))
Next
Return menuItems
End Function

now as i say this all works fine in the dev environment so i dont think its a coding issue unless i am missing something mad.

server 2003 x64
iis 6.0
asp 4.0.303.19
relevant .net 4 framework packs installed
dev environment
visual studio 2010

am using the same browser for to check both dev and server

View 2 Replies

System.Environment.GetEnvironmentVariable("UserName") Not Working?

Mar 25, 2010

I need to retrieve the windows login name in my asp.net application.

I put System.Environment.GetEnvironmentVariable("UserName") in and it works only when I am debugging my application. However, when I try to run it from the url, and do a response.write it gives an empty string for the "username",how I can get this to work?

View 8 Replies

C# - Process.Start("url") Is Not Working In Proxy Environment

Apr 15, 2010

How i can pass WebProxy credentials like userid, password, IP,Port and domain. During proxy environment the url does not open.

View 1 Replies

Aspx Site Not Working Out Site Of Development Environment

Oct 27, 2010

I made an aspx site with .net 4.0 framework through visual studio and it worked perfectly in the development environment but when I upload it to the server and try to run it I get this error: Server Error in '/' Application. Runtime Error Does anyone have an idea on how to fix this?

View 4 Replies

MVC :: Add And Edit Posts In Db?

Nov 17, 2010

I'm trying to save and update contacts. I can add new contacts, but when I try to update a contact it will be inserted as a new contact in the database. I can't understand what I'm doing wrong.

[Code]....

View 9 Replies

C# - Get Facebook Wall Posts?

Jun 18, 2010

I am using Facebook Toolkit. I have appKey and appSecret, but I dont want that visitor need to conenct to facebook. I will use my login/passwork to get my wall posts.

View 1 Replies

Website - How To Localize New Posts In .net

Mar 14, 2011

I am doing my final year project and have decided to make a website in asp.net. For that I'll be using Micrsoft Visual Studio 2008. I'm making a Real ESTATE properties website. I want to know how to localize or create new posts in asp.net( like in WORDPRESS) and also when I hit SEARCH it should search for the desired keyword or the searched post.

If post is not possible then it should display pages...

View 1 Replies

Can Read Posts From Twitter

Mar 16, 2011

On my site I've got a section which displays the latest tweets from my twitter account. I used Twitterizer to read latest tweets from my account and bind them to a Repeater However, with Twitter's new security, I can't use this as I must use oAuth.

What is the best way of returning tweets from an account?

View 2 Replies

SQL Server :: Retrieving Posts By Their Tag?

Sep 18, 2010

I have the following code in a stored procedure to retrieve all posts:

[Code]....

However, I am having trouble selecting posts by their tag..

View 9 Replies

Implement Partial Posts In Application?

Jul 23, 2010

I am working on asp.net. and i want to implement partial posts in my application. my situation is like that i dont want to url changed in address bar and even page should not refreshed at all.

for that i used script manager and update panel but still page refreshes and url also changes.

View 1 Replies

SQL Server :: Getting Last Value From Database And Check For Posts

Jan 20, 2011

topic - topicid (pk),sub, message (content), catid(fk), createdby, createddate, updatedby, updatedon, viewers( count of views)

post - postid(pk), topicid(fk), post (content), createdby, createddate, updatedby, updatedon.

As i told in my last post, I am designing a forums website. I am not able to design the query to retrieve the topics for a category for example say catid=1. I want to display it in a grid view as done in every forums.

I made some query :

SELECT Topic.Sub, Topic.CreatedBy,COUNT(Topic.viewers) from topic where catid=1

group by Topic.Sub,Topic.CreatedBy

This is for retrieving the topic name from the subject and the createdby giving the topic starter and the total no. of views of that topic.

Now i want to make a query from the post table displaying the last post in the topic and if the post does not exist, i want to display the 1st post from the topic table as the last post done.

View 22 Replies

Facebook Wall Posts On Website?

Jan 25, 2011

Need the steps to show my facebook wall posts on my asp.net webiste/

View 3 Replies

SQL Server :: Count Posts For Each Topic?

Oct 26, 2010

There are 2 tables [forumitems] and [forumitemsblog]

forumitems has the itemid,itemdescription,datecreated,whocreated fields

forumsitemsblog has the itemid,blog

I need to show how many posts are in each item description using the itemid so like count(blog) where itemid=itemid

[Code]....

View 5 Replies

Any Free Controls To Notify User For Posts?

Sep 8, 2010

I have written a little social network for one of my sites. Is there any controls out there free to notify the user of wall posts etc?

View 5 Replies

Session State Lost Between Ajax Posts?

Jul 16, 2010

I have an asp.net login page, which when initialized sets some session variables. When the user clicks login, an AJAX request is made which validates the user and sets additional session variables and returns a result to the client. The client is then redirected based on the login result. In the redirected page, I can access the session variables set when the login page was initialized (i.e. before the login) but none are present for those set during the login validation (part of an ajax call).

is this expected behaviour? Why would an ajax call generate a new session and thus cause the data to be lost?

View 3 Replies

Retrieving Posts From A Wall, But Without Logging Into Facebook?

Jun 10, 2010

Basically, I would like to include my latest Wall posting on my website. But, so far, everything I have read needs the visitor to the site to log-in to Facebook which, in theory, would then retrieve their latest Wall post. In prinicpal, I guess it would be like an RSS Feed.

View 1 Replies

Response.Redirect - Posts Back To Self Before Redirecting?

Feb 10, 2010

Does a response.Redirect first postback to the page that's calling the redirect before actually redirecting? I don't think so but my debugging is showing me that it is.

I can see it doing so and that causes me a problem. The problem is this:

1) My page has an asp.net button on it
2) When the button is clicked, the page posts back of course. Then the following is called in the event handler method for that button:

Response.Redirect("Checkout?frpp=1"), true);

3) But I notice that when the redirect is called, it first goes back and hits the page load for this page, the page that's doing the redirecting. Well that is causing me problems because it's calling code that I don't want it to be calling again such as this:

if (!IsPostBackl)
ShowOrderItems();

so it's like I'm doing a 2nd postback:

first postback happens when you click the button, hits the event handler, runs my handler method which calls the Redirect. Redirect is called but it's doing another postback to the same page here..why?

View 2 Replies

Publish Posts Automatically In Website Page?

May 29, 2010

how to publish posts automatically in web site page (asp)?

View 5 Replies

Web Forms :: Send Email On New Posts / Comment?

Jan 26, 2011

i have looked all over the forum but i cant find what im looking for, so here it goes:I need to create some sort of newsletter system that works like ths:User has 3 options (subscribe to):1. all new posts 2. comments on a specific post 3. all comments All i could find on forum and google was a newsletter system that an admin can use to send newsletters, but i need it to be automatically when someone posts a new post/comment. Mostly something like forums.asp.net is using :)Using vs 2005 express / c#.

View 9 Replies

C# - LinkButton In UserControl Posts Back But Does Not Fire OnClick?

Aug 18, 2010

I've been looking at google for the past few hours, trying to find an issue to a apparently simple problem. I have a UserControl named RolloverLink that basically contains a asp:LinkButton and a <img /> . I tried setting the OnClick handler like this:

[code]....

I put a breakpoint in the propagate method, but it doesnt stop there. The page does post back (it flashes), but the event doesn't get called.

Here's how my code behind looks like:

[code]....

View 2 Replies

Forms Data Controls :: Getting News-like Posts Via Database?

Jun 22, 2010

I have a website where people can send an email to a group of people and then choose to have that letter posted on our website.

The problem has now become that I get so many of them, I can't keep up with doing it manually. What I'd like to do is have it go to a database and then have it automatically update the site. So, one page will have "teasers" with the Author's name, etc and a few lines of the letter and then it links to another page that has the entire letter.

Can anyone tell me if:

a) that's possible

b) how to implement it

Doing it manually has gotten out of control!

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved