DataSource Controls :: Edit The Sqlprovider File In DotnetNuke - Giving An Error Like In Screenshot?

Feb 23, 2010

I have edited the sqlprovider file in DotnetNuke as below. But it is giving an error like in my screenshot.

ALTER PROCEDURE [{objectQualifier}ICG_Auth_SaveSettings]
(
@PortalId INT[code]......

View 1 Replies


Similar Messages:

Forms Data Controls :: Insert And Edit Templates Of Formview Are Giving Error Message?

Feb 13, 2011

I am using a formview on main web page and the Item template displays my data correctly but I get and error when I try and link to the edit or insert templates.This happens on our remote tesing server only.On my local machine running the page on the local server in VS 2010 everything works fine.But then doesn't it always work on your local machine.I might also mention that I am compiling for asp.net 4.0.
Here is the stack trace :

System.Data.SqlClient.SqlException (0x80131904): Login failed for user 'MYCORPABIGWEB01$'. at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning()

[code]...

View 1 Replies

DataSource Controls :: Use Group By / Giving Error?

Apr 5, 2010

i want to use group by

var origina = (from m in _db.MeSetgroup by m.Categoryselect m)

but it have error in. how can i use group by in mvc?

View 6 Replies

DataSource Controls :: Stored Proc Giving Error?

Feb 2, 2010

This is the sproc

ALTER Procedure [dbo].[spGetGroupDetails]
(
@inUserID Varchar(15),
@inGroupID numeric=0,
@inGroupName varchar(100) = null
)
As

[Code]....

View 2 Replies

DataSource Controls :: Linq Update Via .attach() Giving Entity Exists Error?

Jan 5, 2010

I have a "simple" method that takes a Linq entity containing the information I want to update. The method then creates a list of counties the information is to be updated for, and tries to update the information for each county.

So user goes in fills form out selects update All counties, and the information in the form should be updated for all the counties for the member. Here is the code.

[Code]....

The first pass through the foreach runs perfectly, the second time through I get an error: Cannot attach an entity that already exists.

What is best way to work around this?

I have though about putting the foreach loop in my business_logic layer, and have it pass both the newRecord and OldRecord, but figured I would ask, before making the code change.

View 1 Replies

DataSource Controls :: Adding Stored Procedure To Dataset1.xsd Giving Errors "An Unexpected Error Has Occurred"

Jul 31, 2010

i am using paging technique from this tutorial [URL] and it is working fine, i used asp.net 2.0 with sql server 2005 then i upgraded to visual studio 2008, and converted the asp.net 2.0 application to 3.0 and now using sql server 2008 all the existingpages and .xsd files are working, fine, i can see data in .xsd files when i preview it but i cannot add new stored procedures it gives me an error "An unexpected error has occured" Error message:unexpected error i dont know what it is, already configured dataset (.xsd) works fine, it is just that iam unable to add stored procedures to new datasets my connection string

<add name="jobcon" connectionString="Server=HOME-46CTBUROCXSQLEXPRESS; Database=jobdhundo; User ID=; Password=;Timeout=200; Trusted_Connection=True" providerName="System.Data.SqlClient"/>

it is fine with the entire application there is no coding involved

View 14 Replies

SQL Server :: Upload Excel File Giving Error

Dec 3, 2010

when i tring to upload excel file in sql,it was upload few recoreds and gives me error. i can not understand the error.

View 5 Replies

Configuration :: Giving Error / Upload My File By Uopload Program?

Nov 9, 2010

i upload my file by uopload program ,my site give run time error mt site is :www.cartsabz.ir

View 3 Replies

Forms Data Controls :: Detailsview Giving Error

Oct 25, 2010

Split off from [URL]

New error message:

Front page code:

[Code]....

Error List, front page (default.aspx) reads as follows:

Warning 1 The class or CssClass value is not defined. 11 59 Warning 2 The class or CssClass value is not defined. 43 32 Error 3 Name 'MetaModel' is not declared. 9 57

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. Compiler Error Message: BC30456: 'DetailsView1_ItemCommand' is not a member of 'ASP.default_aspx'.Source Error:

[Code]....

Source File: d:hostingcforedDefault.aspx
Line: 20

View 4 Replies

C# - Trying To Access Telerik RadEditor Controls In Master Page's Code Behind As Follows... Giving Error

Nov 3, 2010

foreach (Control control in ContentPlaceHolder1.Controls)
{
if(typeof(Control).Equals(Telerik.Web.UI.RadEditor))
{
label1.Visible = true; label1.Text = "dhchk";
// control.CssFiles.Add("~/styles/myStyle.css");
}
}

Error;-

'Telerik.Web.UI.RadEditor' is a 'type', which is not valid in the given context

Also, is this the correct way to add CSS class to radEditor controls ??

control.CssFiles.Add("~/styles/myStyle.css");

I actually wanna add 3-4 customized classes..how to do that?

also I was wondering if I can add some javascript or something in my Master page that will detect the ALL the radEditor controls and set their css classes ? don't know much of Javascript..how can that be made possible? how do I go about that? but first I want css classes to be set in code behind..what's wrong with the code?

[EDIT]

@Geek..I tried calling like this..is it correct?

Control c = new Control();
DoSomething(c);

now its giving this error in the method:-

The type or namespace name 'c' could not be found (are you missing a using directive or an assembly reference?)

[EDIT]

I do have this namespace added "using System.Web.UI.WebControls;" why this error ??

View 1 Replies

DataSource Controls :: Configuring ObjectDataSource Not Giving Option To Select Correct TableAdapter

Sep 16, 2010

So, I have 3 table adapters in my dataset, and trying to configure the objectDataSource will not give me the option to select the correct table adapter.

I set up a temporary website to illustrate what I am talking about, along with pics, not much, just 4 pics.

https://sites.google.com/site/configuringobjectdatasource/

The first 2 pics are irrelevant but just in case anyone thinking I don't have it set up properly. The other table adapters are working fine, which I have gridviews being populated etc.

why it will not give me the option to select aspnet_GetRecordDatesTableAdapter?

View 9 Replies

Forms Data Controls :: When Run The The Code It Is Giving The Error As "Index Was Outside The Bounds Of The Array?

Jan 6, 2011

I am developeing web application using csharp. The the code is reading the text file load on to Gridview, but when I run the the code it is giving me the error as "Index was outside the bounds of the array."Where I am going wrong. The code and records are as follows:

[Code]....

Records on Text File
6/5/2010,Bun,2010,H,20,50040
6/5/2010,BUG,2010,G,26,90000
16/5/2010,COT,2010,B,26,45040

View 7 Replies

DataSource Controls :: SQLExpress Database File Auto - Creation Error "Server Error In '/EBUSINESS' Application."

May 10, 2010

I used visual studio 2008 and sql server 2005(for database) in my website project. After finishing my project i used publish to web option and got the files into an folder. I have installed .NET framework ,IIS, i have also set the remote connection ,firewall setting etc. But when i run i.e., In the IIS manager when i click browse it gives me the following error. Can anyone pls tell me what went wrong in this. My code works fine when run on visual studio 2008. Server Error in '/EBUSINESS' Application.

View 1 Replies

Forms Data Controls :: Gridview Update Not Working / Giving Null Object Reference Error?

Jan 14, 2010

I have a gridview,when i do it is giving me null object reference error.

I am posting my code for your reference -

[Code]....

My gridview code is -

[Code]....

View 8 Replies

DataSource Controls :: Error 823 / Start SQL Server And Access The MDF File?

Jan 22, 2010

While writing to the SQL Server database, I might encounter the below error message:
"Error 823I/O error <error> detected during <operation> at offset <offset> in file
'<file>'"This error message may occur every time when I start SQL Server and access the MDF file.

View 2 Replies

C# - IIS Server / Webpage Giving Error Some XML ERROR?

May 25, 2010

whenever i needed to test my web site, i used to press ctrl and f5. i recently installed installed iis service. kept an html page accessed it from host kept an fully developed default.aspx page in the www directory tried to access gave error of XML something....that means i can only use HTML pages, ? so what to do if i am using c# asp.net? current i do not have the computer with iis installed so i cannot post the exact error message it was something like can not render XML (then it said something like unknown line)

"<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"
Inherits="_Default" %>"

View 2 Replies

DataSource Controls :: Generates Unspecified Error On Opening File On Production Server

Jan 5, 2010

I have an application that uploads an Excel .xls file to the file system, opens the file with an oledbconnection object using the .open() method on the object instance. The upload and writing of the file to the file system works fine but I get an error when trying to open the file on our production server only. The application works fine on two other servers (development and testing servers).

string connectionString = ("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" + fileName + ";") + "Extended Properties="Excel 8.0""
OleDbConnection connection = null;
connection = new OleDbConnection(connectionString);
connection.Open();

The exception comes on production server at connection.Open() some times, when I reset the asp.net worker process it started to work but after some hours/days It occurs again. how can I fix this issue which comes in production some times but very irritating, or there is some other work around.

View 4 Replies

Access The Default SqlProvider In A DAL?

Jul 6, 2010

How do I access the default SqlProvider in a DAL? I've only ever done this before from webforms.

View 1 Replies

Security :: Unable To Get Membership Working Using Sqlprovider?

Jan 7, 2011

I have now been trying for many days to get Membership on my website working but cannot. My aspnet db is a web sqlserver 2008 db.

My issues are

1). The MembersPages are still accessible by unauthenicated users in the deployed site. Using the local development server hyperlinking to a MemberPage does infact re-direct the user to the login page and the return url shown is the correct MemberPage selected. But on the deployed site clicking the hyperlink simply takes the un-authenticated user straight to the MemberPage.

2). On both sites, deployed and local, on clicking a login status control, the user is taken to the login page and is correctly authenticated, but the login page return url is always the default page and that is where the authenticated user is returned to even though the destination url in the login control states a MemberPage within the MembersPages directory.

3). In trying to overcome these issues, I have on several occasions deleted the login control and re-introduced it. Although the login control shows while debugging and when the site is deployed, on the login page in the IDA, there is instead an error message stating "Error Creating Control - Login1. Duplicate Component name 'Login1'. Component names must be unique and case sensitive. I'm not sure how to get rid off the duplication.

[Code]....

View 4 Replies

JQuery :: Implment A Simple Function like A Show() Giving This Error: "Microsoft JScript Runtime Error: Object Expected"?

Feb 13, 2011

I am new to jquery in asp.net mvc2 and was trying to implment a simple jquery function like a show() function on my system but it keeps giving me this error:

"Microsoft JScript runtime error: Object expected"

this is my code:

[Code]....

View 6 Replies

Web Forms :: Giving Error On Compiling

Jan 22, 2010

i do have an app_code folder, which contains a base.cs, which is intented to have its class page_load to override other .aspx-files (without masterpage.master) when the page_load-class of these files is loaded. i wrote the class in base.cs as "public override page_load", but this gives an error when compiling. what am i doing wrong?

View 6 Replies

Jquery Datepicker Giving An Error?

Apr 26, 2010

whats wrong with the below code, its throwing me an error of
Compiler Error Message: CS1002: ; expected

$(document).ready(function() {
$('<%=StartDate.UniqueID%>').datepicker({ showOn: 'button',
buttonImage: '../images/Calendar.png',
buttonImageOnly: true, onSelect:
function() { },
onClose: function() { $(this).focus(); }
});
});
<label for="sd">StartDate:</label>
<asp:TextBox ID="StartDate" runat="server"></asp:TextBox>

error

The Controls collection cannot be modified because the control contains code blocks (i.e. <% ... %>).

View 2 Replies

Jquery Ui Datepicker And IE / Giving Error

Apr 7, 2010

This works perfectly in Firefox but doesnt work in ie i get the following error "Line: 640
Error: Object doesn't support this property or method"

Here is my code

<asp:TextBox ID="calendardatedob" CssClass="calendardatedob" runat="server" AccessKey="n" TabIndex="4" MaxLength="40" /><span
class="req">*</span> e.g dd/mm/yyyy

Here is my jquery
$(document).ready(function() {
$("#ctl00_PageContent_calendardatedob").datepicker();
});

im referencing these

<script src="../../assets/js/jquery.min.js" type="text/javascript"></script>
<script src="../../assets/js/jquery-ui-1.8.custom.min.js" type="text/javascript"></script>

View 1 Replies

RSS Feed Is Giving Error In Cloud?

Jun 14, 2010

In my C# asp.net 3.5 application I am using RSS Feed to get current updates of my website. Its working fine and when we subscribe the feed also its updating the data as needed. Now our application is deployed in cloud. There also this RSS feed is opening and showing the data. But When I say Subscribe to this feed Its giving diagnose error page saying Normailization error occured and can not display the page. Let me know how to work with RSS feed in cloud environment.

View 1 Replies

Plain Javascript / Giving Error?

Jun 30, 2010

I am using simple windows.open function to open up a popup window. While teh same is working fine in another page.

Basically there is a user control and that user control has simple table. In there I am using a link button where ONClientClick I am using windows.open('some.aspx'). But it is giving error like Stack OverFlow at line No.

I am unable to get the basic meaning if this thing, why this error can generate and what it signifies?

View 1 Replies







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