Web Forms :: Integration Import Not Working

Apr 26, 2010

I have got a master page of a website which picks up the content given by the user and displays it on their side(server) when the user saves it. Basically I give the project in a general format to them and they edit this master page and give the content to their website in whatever way they want. But since few days I have been getting this error When ever the client tries to change the content and save it and refresh it takes them to a error page which says as shown below Error message on resulting template after the import:

Server Error in '/elina' Application. Cannot find ContentPlaceHolder 'plcCol1' in the master page '/elina/Elina.Master', verify content control's ContentPlaceHolderID attribute in the content page. 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.Web.HttpException: Cannot find ContentPlaceHolder 'plcCol1' in the master page '/elina/Elina.Master', verify content control's ContentPlaceHolderID attribute in the content page.

Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. Now the code on the master page is as shown below

using
System;
using
System.Collections.Generic;
using
System.Configuration;
using
System.IO;
using
System.Web;
using
System.Web.Security;
using
System.Web.UI;
using
System.Web.UI.WebControls;
using
Exact.CMS.Navigation;
using
Exact.Hospitality.Core.Models;
using
ResortManagement.BusinessLogic;
namespace
{
ResortManagementpublic
partial
class
ElinaMasterPage :
MasterPage
{
{
plcClientMenu.Controls.Add(LoadControl(
plcLogin.Controls.Add(LoadControl(
{
plcBooking.Controls.Add(LoadControl(
}
}
{
IsLive =
{
Analytics =
}
protected
bool IsLive =
true;protected
bool Analytics =
false;protected
void Page_Init(object sender,
EventArgs e)"~/Component/LoggedInMenu.ascx"));"~/Component/LoginBar.ascx"));if
(plcBooking.Controls.Count == 0)"~/Component/BookingShortcut.ascx"));protected
void Page_Load(object sender,
EventArgs e)ConfigurationManager.AppSettings["IsLive"].Equals("1");if
(ConfigurationManager.AppSettings["GoogleAnalytics.Enabled"]
!= null)ConfigurationManager.AppSettings["GoogleAnalytics.Enabled"].Equals("true");NavController
nc = NavControllerHelper.CurrentPage;//SetCalendarLanguage();
mainMenu = nc !=
subMenu = nc !=
{
mainMenuCtrl.MenuItems = mainMenu;
subMenuCtrl.MenuItems = subMenu;
}
((
}
{
NavController[] mainMenu;NavController[] subMenu;null
? ExactSiteMap.Find(nc.Language).GetMenuAtLevel(nc.Id, 0) :ExactSiteMap.Find().GetMenuAtLevel(1,
0);null ?
ExactSiteMap.Find(nc.Language).GetMenuAtLevel(nc.Id, 1) :ExactSiteMap.Find().GetMenuAtLevel(1,
1);if (this.FindControl("PlaceHolderMenu1")
!= null)var mainMenuCtrl =
this.FindControl("PlaceHolderMenu1")
as Exact.UserControl.Menu;var
subMenuCtrl = this.FindControl("PlaceHolderMenu2")
as Exact.UserControl.SubMenu;if
(this.FindControl("litCopyright") !=
null)Literal)this.FindControl("litCopyright")).Text
=String.Format((string)GetGlobalResourceObject("SiteResource",
"FooterCopyright"),DateTime.Today.Year);public
Control TopCornerElementget {
return plcBooking.Controls[0]; }set
{
plcBooking.Controls.Clear();
plcBooking.Controls.AddAt(0,
}
}
{
}
{
language = Request.UserLanguages[0].Split(separator)[0];
value);public
Control LoginElementget {
return plcLogin.Controls[0]; }protected
void SetCalendarLanguage()string baseUrl = Server.MapPath("/");char[]
separator = { '-' };string language;if
(Request.UserLanguages != null)else language =
"en";if (File.Exists(baseUrl
+ "/js/calendar/lang/calendar-" + language +
".js"))ScriptManager.RegisterClientScriptInclude(Page, Page.GetType(),
"calendar-lang","/js/calendar/lang/calendar-" + language +
".js");else
}
}
}
ScriptManager.RegisterClientScriptInclude(Page, Page.GetType(),
"calendar-lang","/js/calendar/lang/calendar-en.js");
The HTML CODE for this page is shown below
<%
@
Master
Language="C#"
AutoEventWireup="true"
CodeBehind="Elina.master.cs"
Inherits="ResortManagement.ElinaMasterPage" %><%@
Register
Assembly="Exact.CMS.Deploy"
TagPrefix="exactCMS"
Namespace="Exact.UserControl" %>
<!
<
<
DOCTYPE
HTML
PUBLIC
"-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">html
xml:lang="en"
xmlns="http://www.w3.org/1999/xhtml"
lang="en">head>
<meta
http-equiv="Content-Type"
content="text/html; charset=UTF-8">
<link
rel="stylesheet"
type="text/css"
href='/elina/img/styles.css'
media="all">
<link
rel="stylesheet"
type="text/css"
href='/elina/img/styles_screen.css'
media="screen, projection">
<link
rel="stylesheet"
type="text/css"
href='/elina/img/styles_print.css'
media="print">
<link
rel="shortcut icon"
type="image/ico"
href="favicon.ico">
<script
type="text/javascript"
src='/elina/js/date.js'></script>
<script
type="text/javascript"
src='/elina/js/jquery.js'></script>
<script
type="text/javascript"
src='/elina/js/jquery.extensions.js'></script>
<script
type="text/javascript"
src='/elina/js/scripts.js'></script>
<script
type="text/javascript"
src='/elina/js/swfobject.js'></script>
<
<script
type="text/javascript"
src='/elina/js/thickbox.js'></script>style
type="text/css">
.t_main {
width: 980px;
min-height:100%;
}
.t_top {
height: 40px;
width: 980px;
background-image: url(/elina/img/t_top_bg.jpg);
background-repeat: repeat-y;
}
.t_top_logo {
height: 35px;
width: 35px;
position: relative;
float: right;
right: 10px;
top: 2px;
}
t_center {
width: 980px;
}
.t_footer {
height: 70px;
width: 980px;
background-image: url(/elina/img/t_footer_bg.jpg);
background-repeat: repeat-y;
}
.t_center_left {
float: left;
width: 210px;
position: relative;
}
.t_center_right {
float: right;
width: 770px;
position: relative;
}
#box2{
padding-bottom:130px;
width:980px;
min-height:100%;
}
</
</
<
<
<
<
style>head>body>div
class="t_main">div
id="box2">form
id="form1"
runat="server"><asp:ScriptManager
ID="ScriptManager1"
runat="server"></asp:ScriptManager>
<div
class="t_top">
<div
class="t_top_logo"><img
src=''
/></div>
</div>
<div
class="t_center">
<div
class="t_center_left">
<br
/>
<
<
asp:PlaceHolder
ID="plcBooking"
runat="server"/>br
/>
<
</
asp:PlaceHolder
ID="plcLogin"
runat="server"/>div>
<asp:ContentPlaceHolder
ID="plcCol1"
runat="server"/>
</div>
<
</
</
</
asp:PlaceHolder
ID=
"plcClientMenu"
runat="server"/>form>body>html>

View 3 Replies


Similar Messages:

Configuration :: Export / Import Excel Not Working In Server?

Jul 1, 2010

In my .net 2.0 application, i have used export / import excel option. In local, its working perfectly but in server i am getting the below errors,

Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.Description: An unhandled exception occurred during the execution of the current web request. review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.

ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.

[UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.]
repClaim.Button3_Click(Object sender, EventArgs e) +337
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +111
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1565

I searched solutions for google and even in this forum, the following link also i applied but no use, still same error

[URL]

My application is running in IIS 7.0 with DefaultAppPool. In my web.config, i have used this authentication,

<authentication mode="Windows"/>

View 3 Replies

Data Import Page Where Start The Import By Clicking A Button?

Apr 23, 2010

I have a data import page where I start the Import by clicking a button.Second by second I want to print in Web Page informations about record is being importing.

<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:UpdatePanel ID="CurrentTimePanel" runat="server">
<ContentTemplate>
<asp:Label ID="CurrentTime" runat="server" Text="Now: " />
[code]...

View 5 Replies

Web Forms :: Webcam Integration On Webpages?

Jun 24, 2010

I have been working on a web application using C# and I want to capture images from my webcam on the registration page. The concept is as the page loads, the system checks for a webcam connected and if the webcam is found conencted, Image streaming should be done and the frames would be displayed on the page. As soon as I click the "Grab Image" button, the Image should be captured and stored to a database.

View 12 Replies

Web Forms :: Email Integration With Outlook

Feb 22, 2011

I wanted to open Outlook clinet from the web on buttonclick. (on local it works fine but on server it does not). I can send email through smtp but i need to open the outlookClient on button click.. :(

Outlook.Application oOutlook = new Outlook.Application();
Outlook.MailItem _Mailitem;
Outlook.NameSpace _NS = oOutlook.GetNamespace("mapi");
_oMailitem = (Outlook.MailItem)oOutlook.CreateItem(Outlook.OlItemType.olMailItem);
_oMailitem.To = "abc@yahoo.com";
_oMailitem.Subject = "Email Integration with Outlook";
_oMailitem.HTMLBody = sb.Tostring(); // here i am creating HTML File
_oMailitem.Display(true);

My sb.ToString text contains the link to the images i.e <img > tags etc which are included as inline attachment. I tried to use MailTo link but I could not Attach attachment to it.

View 9 Replies

Web Forms :: Integration Paypal In Website?

Jul 28, 2010

Are there already created code in C # (which is fully operational) to be included on my site? I would only change this information, and should normally work?

View 1 Replies

Web Forms :: Mobile Recharge API Integration

Oct 6, 2013

I want to know how to integrate any API in asp.net ... I am doing project on online mobile recharge site, how to do this?

like mobile recharge

card recharge

dth recharge

etc..

View 1 Replies

Web Forms :: LinkedIn API Integration With Website

Oct 31, 2013

I have seen you Facebook Integration Code, Importing Facebook profile, Login Via Facebook.

I want the same thing for LinkedIn.

View 1 Replies

Web Forms :: Unable To Use FCKEditor Integration / Resource Cannot Be Found

Jun 30, 2010

I am facing problem on integration of fckeditor 2.6.3 with asp.net 3.5.

i added the fckeditor dll into my bin folder and added the fckeditor folder which are extracted from the fckeditor 2.6.3 zipped folder.

when i run the web page it shows the error that resource cannot be found

View 4 Replies

Forms Data Controls :: Form Integration With Authorize.Net

Aug 30, 2010

I'm trying to do the integration, i have designed my form already :

[Code]....

But i need to do the coding and i don't know how, I looks very complicated when i checked their sample codes in VB.Net the folder contains lots of files and codes.I have found someone that did the coding in c# and this is the link for the code :

http://www.keithfimreite.com/Codebehind.txt

and the link for the form http://www.keithfimreite.com/Form.txt

View 4 Replies

Web Forms :: Paypal Integration Works In Local Machine?

Sep 10, 2010

In my shopping website..... I had integrated Paypal. Using the Developer / SandBox Version I had already tested the site from my local machine. It is working fine.

But after uploading the files in shared web-Server, whenever I am trying to call the Paypal, then always it is showing me the following error. The operation has timed out Description: An unhandled exception occurred during the execution of the current web request. review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Net.WebException: The operation has timed out

Source Error:

[Code]....

Line 32: End If
Line 33: Catch ex As Exception
Line 34: Throw ex
Line 35:
Line 36: Finally

Source
File: D:whbSites29519Webexpresscheckout.aspx.vb Line: 34
Stack Trace:

[Code]....

[WebException: The operation has timed out]
expresscheckout.expresscheckout_Load(Object sender, EventArgs e) in D:whbSites29519Webexpresscheckout.aspx.vb:34
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +50
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

View 8 Replies

ASP And Flash Integration?

Nov 30, 2010

Does anyone can give me a good site where lot of examples of Flash as the interface and all the functions where in ASPX; Flash > ASP > Database and Database > ASP > FLASH.

View 5 Replies

MVC :: PayPal PDT Integration With MVC?

Jan 20, 2010

I am looking for some aticle which explains the integration of PayPal PDT feature with ASP.NET MVC model.So Far I am able to direct the user to pay pal with the payment information but I am need help with processing the returned url from paypal and sending the information back to paypal for verification.

View 3 Replies

MVC :: How To Do Jquery Ckeditor Integration

Jun 8, 2010

can some one point me to a good guide for jquery asp.net mvc ckeditor integration?

View 1 Replies

PayPal Integration Wizard?

May 5, 2010

I'm currently trying my luck to integrate PayPal in ASP.NET (I'm just starting to know more about PayPal, okay?)

PayPal Integration Wizard. Hmmm. Does this even work?

View 1 Replies

ASP And FaceBook Wall Integration

Mar 26, 2010

I like to send messages when I want from my aspx webpage. I used the different examples and used FaceBook API 3.1. I am getting error as "service temporarily unavailable". I have assigned AppKey, Secret Key and session key. My sample code is below.

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Facebook;
using Facebook.Web;
using Facebook.Rest;
using Facebook.Session;
using Facebook.Utility;
using Facebook.BindingHelper;
using Facebook.Schema;
using Facebook.Web.FbmlControls;
using Facebook.Session.DesktopPopup;
namespace FaceBookApp
{
public partial class _Default : System.Web.UI.Page
{
private const string ApplicationKey = "MY_APP_KEY";
private const string SecretKey = "MY_SECRET_KEY";
private Api fbAPI;
private ConnectSession _connectSession;
// private List<EventUser> _eventUsers;
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
_connectSession = new ConnectSession(ApplicationKey, SecretKey);
_connectSession.SessionKey = "MY_SESSION_KEY";
if (!_connectSession.IsConnected())
{
// Not authenticated, proceed as usual.
//lblStatus.Text = "Please sign-in with Facebook.";
}
else
{
// Authenticated, create API instance
fbAPI = new Api(_connectSession);
string response = fbAPI.Stream.Publish("publish steven on facebook.");
}
}
}
}

The error message is confusing. It must be a very simple solution. I don't know what I am missing. Here is the facebook exception.

{"Service temporarily unavailable"}

View 1 Replies

Development - ASP Integration Environment

Jun 22, 2010

My dev team and I would like to setup a development environment for our ASP.NET projects. BY development environment i do not mean Visual Studio. I mean, that we have a Database Server, a Application Server and a Web Server in a 'Development Environment'. We want to use this as our integration environment. Where the developers all work on there parts of ASP.NET Applications and then we can push our new changes up to test them as a whole. My Question is , what is the best way to deploy our code together without stepping on our toes?

View 2 Replies

Localization :: Language Integration In .net?

Mar 15, 2010

I want to integrate bangla(font) language in asp.net application .I didnt do any language integration work previously .If any developers did bangla language integration or have idea to ingrate it with asp.net application.

View 5 Replies

Architecture :: .net Integration With Ms Dynamic Crm?

Feb 18, 2010

I'm not too sure where to ask this question, and forgive me for the lack of research, but I have a meeting coming up this afternoon, and need the skinny on interfacing my asp.net web apps with ms dynamic crm.Basically I have the ms sql layer that is custom to my apps. Then I have the application layer, built in asp.net. This is basically connecting web forms and reports to a sql database. (Sounds so simple when put that way)Our department is merging with another department. Both MS shops, but they are using the CRM to manage workflow internally, user roles, web forms and the back end sql. It seems at first glance, that it's a well thought out comprehensive system. So my question is this: How extensible is ms crm, and where does a dot net web app programmer 'attach' to the system? Could I interface my current web apps with the crm back end for example, and populate the crm mechanisem?

View 1 Replies

WCF / ASMX :: Integration With Java?

Feb 17, 2011

Please help me how to use WCF Service in Java application.

View 3 Replies

Active Directory Integration

Jul 26, 2012

I'm glad to see there is another active VB community besides Microsoft.

I'm working with Visual Web Developer 2010 Express and I'm a VB coder. With that said I need web application that reads and modifies information in two location. Some information is from AD and the other is from a SQL db.

I took a stock Web Application that came with some predefined pages, one being a login page, and modified the login sequence to use AD for authentication.

Now I'm needing to do a few more things. I know how to read information from a SQL database but not from ActiveDirectory.

I want to take the currently logged in user and pull some information from AD: first name, last name, middle name, address, department, phone number, email address, etc.

I'm lost on how to read/write to AD.

View 1 Replies

Integration Of Google Calendar In Application?

Sep 14, 2010

integration of Google Calendars in the website? I need to replace the existing calendar control in the website with the Google calendar. I am trying to merge the events with Google Calendar so that events are posted/ tracked in Google Calendar, and events added to the Google Calendar would be shown in my website. I want some working sample which will provide me some idea to integrate the Google calendar in the website.

View 1 Replies

RBS WorldPay Payment Gateway Integration?

Jan 25, 2011

I am beginner in ASP .NET world. RBS WorldPay Payment Gateway Integration in ASP.NET?

View 3 Replies

WCF / ASMX :: Starting Integration With Web Services?

Mar 25, 2010

I'm having my first experience with Web Services with .Net. I received from a client an integration manual to consume a web service they have.

In this manual I have the following information:

Request Interface: [URL]

Using SOAP request would return a XML Document with the response.

WSDL: [URL]

Request XML:

[Code]....

There's also XSD for the response XML.

Well, I'm having a little trouble trying to figure out how to consume this web service.

I found a topic here pointing to a MSDN article. There it says that I would have to add a Web Reference for this web service, but in my case this web service is external. Do I really have to add this reference to consume the web service? If yes how do I do that?

Next I have to create the XML Document that will be sent with the SOAP request. But here's a question. Searching on the internet I found mainly two types of request XML. I don't know wich one I should use.

The first one would be:

[Code]....

The second one is a XML file with soap:Body, soap:Header, soap:Envelope, etc.

Wich one should I create with my application in order to consume the web service? If it's the second one, how would look the XML for the data of the first XML?

And finally, how do I send the Soap request? As I said above, I found a MSDN article but it assumes I'm adding a web reference to the web service on my project and I belive that in my case I won't add this reference. So, how do I consume this web service?

I'm kind of lost here and really really soon I will have to estimate how long will take to develop the web service consume code.

View 3 Replies

Paypal Website Payments Pro Integration Using C#?

Nov 27, 2010

I need to implement checkout process using paypal website payments pro. I need solution/sample code for website payment pro with ASP.net/C#.

View 2 Replies







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