Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
P

Phivos Stylianides

@Phivos Stylianides
About
Posts
20
Topics
7
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • PUBLISHED ASPX PAGE BUT KEEP GETTING LOADING FILES/ASSEMBLIES ERRORS. HELP PLEASE!
    P Phivos Stylianides

    I already have the latest dlls i think because i also tried updating .NET framework 3.5 again. And after that i re-added those references in my code but still the same errors... Any ideas how to solve this?

    ASP.NET help csharp asp-net linq xml

  • Programmatically adding usercontrols
    P Phivos Stylianides

    Hi, in this case i am adding an array of LinkButtons in a Multiview control dynamically. entries[indexIntVar] = new LinkButton(); view1.Controls.Add(entries[indexIntVar]); Hope this helps!

    ASP.NET help tutorial question

  • PUBLISHED ASPX PAGE BUT KEEP GETTING LOADING FILES/ASSEMBLIES ERRORS. HELP PLEASE!
    P Phivos Stylianides

    The assemblies/files i mentioned are all declared one after another in my code. At first i get the following 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: Could not load file or assembly 'System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' or one of its dependencies. The system cannot find the file specified. As i get this error for this specific assembly mentioned above, i tried removing the assembly and add its reference again. When that happens it is generated again in my code at the end. So when i try to publish the page again i get a similar error about next assemblies in the code.

    ASP.NET help csharp asp-net linq xml

  • PUBLISHED ASPX PAGE BUT KEEP GETTING LOADING FILES/ASSEMBLIES ERRORS. HELP PLEASE!
    P Phivos Stylianides

    Hi, as i mention on the title of the post i get those errors coming from the web.congig file of the web site. I tried removing the references and then adding them again but still the same problem. Those are: add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" Any ideas? Thanks a lot!

    ASP.NET help csharp asp-net linq xml

  • Runtime Error after publishing aspx page!!!
    P Phivos Stylianides

    Thanks for your reply, I realized after removing those lines from the web.config that new ones errors come up and they seem to be similar. It cannot load the following files or assemblies: add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" I also tried removing them and then adding the references again! any ideas? Thanks!

    ASP.NET help csharp visual-studio sysadmin security

  • Runtime Error after publishing aspx page!!!
    P Phivos Stylianides

    Thanks for your reply, I realized after removing those lines from the web.config that new ones errors come up and they seem to be similar. It cannot load the following files or assemblies: I also tried removing them and then adding the references again! any ideas? Thanks!

    ASP.NET help csharp visual-studio sysadmin security

  • Runtime Error after publishing aspx page!!!
    P Phivos Stylianides

    Hi, i'm used Visual Studio 2008 Pro to create and publish my website. Everything seemed to be successful but when i tried to go to the page online i get this error: Runtime Error Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a tag within a "web.config" configuration file located in the root directory of the current web application. This tag should then have its "mode" attribute set to "Off". It works fine in my virtual directory but not the server. This is for a class and your help is greatly appreciated!! Phivos

    ASP.NET help csharp visual-studio sysadmin security

  • HOW TO MAINTAIN DYNAMICALLY CREATED CONTROLS AFTER POSTBACK C#
    P Phivos Stylianides

    Hi, i'm creating a TextBox dynamically with the firing of a Button but every time the page posts back the previous TextBox disappears. Is there a way to retain that control and add the new ones below it? Your help is greatly appreciated! Fivos

    ASP.NET csharp help tutorial question

  • ASP.NET - C# passing a variable to the page with postback
    P Phivos Stylianides

    Thank's a lot for your post! Works!

    ASP.NET csharp asp-net help question

  • ASP.NET - C# passing a variable to the page with postback
    P Phivos Stylianides

    Yes exactly, does any of you guys know how to assign it as a Session variable and then how to retrieve it back? Thanks a lot!

    ASP.NET csharp asp-net help question

  • ASP.NET - C# passing a variable to the page with postback
    P Phivos Stylianides

    Hi, I have a method that retrieves a variable with a click of a LinkButton. I need to use that variable in an other method but it becomes null for some reason. I guess that happens because of the page postback every time and since i have an initialization command at the beginning of my code it makes it null again. So should i pass an argument with the page postback or disable the linkbutton's postback. And How could i do any of those? Your help is greatly appreciated. phivos

    ASP.NET csharp asp-net help question

  • SQL type money to decimal HELP!
    P Phivos Stylianides

    i'm still getting zero as a result. do you think anything else could be wrong that i should double-check?

    C# database testing beta-testing help

  • SQL type money to decimal HELP!
    P Phivos Stylianides

    Hi, as simple as it sounds i'm having difficulties to achieve this. I have tried several ways but none of them works. This a part of my code: decimal amount = reader.GetSqlMoney(4).ToDecimal(); subtotal += amount ; What happens is that the value returned every time from my first line of code is zero. Also when i tried for testing purposes to give that value to a control's text property it works fine. Thanks

    C# database testing beta-testing help

  • INSERT IMAGES TO SQL SERVER TABLE USING C# CODING
    P Phivos Stylianides

    The images are not in the database yet. They are stored in the path mentioned, so far, and i'm trying to figure out a way to store them in the database. The code i posted in my first post does not work and i couldn't debug it. I'm looking for the appropriate corrections to make on my code so that my application will store the images in the database or write new code from scratch if there is a better way to do this. Thanks!

    ASP.NET question csharp database sql-server sysadmin

  • INSERT IMAGES TO SQL SERVER TABLE USING C# CODING
    P Phivos Stylianides

    i need the images contained in a relative folder to be all uploaded in the database to be used later in my application. I will not use an upload tool to be used manually from the user so there has to be a path!

    ASP.NET question csharp database sql-server sysadmin

  • INSERT IMAGES TO SQL SERVER TABLE USING C# CODING
    P Phivos Stylianides

    yes but, where should i include the path of the image?

    ASP.NET question csharp database sql-server sysadmin

  • INSERT IMAGES TO SQL SERVER TABLE USING C# CODING
    P Phivos Stylianides

    Hi, i'm trying to save preset images of type jpeg in a SQL table. My code below will be executed within a method every time i add a picture in the table. The table is called ITEM and the column with the type image is called item_picture. And the application root is ~/images/ where i have stored all the images. try { byte[] image = new byte[4]; string qry = "insert into ITEM(item_picture) values(@OriginalPath)"; command = new SqlCommand(qry,connection); command.Parameters.Add(new SqlParameter("@OriginalPath","~/images/app1.jpg")); } finally { connection.Open(); command.ExecuteNonQuery(); connection.Close(); } I get the following error: Operand type clash: nvarchar is incompatible with image How can i get this right? Thanks!

    ASP.NET question csharp database sql-server sysadmin

  • Reading the path of a file in C# - URGENT!!
    P Phivos Stylianides

    I skipped the ReadFile method and used something else instead. This is my code so far: try { byte[] image = new byte[4]; string qry = "insert into ITEM(item_picture) values(@OriginalPath)"; command = new SqlCommand(qry,connection); command.Parameters.Add(new SqlParameter("@OriginalPath","~/images/app1.jpg")); } finally { connection.Open(); command.ExecuteNonQuery(); connection.Close(); } I'm trying to execute this within a method every time i add a picture in the table. The table is called ITEM and the column with the type image is called item_picture. And the application root is ~/images/ where i have stored all the images. I get the following error: Operand type clash: nvarchar is incompatible with image Thanks

    C# csharp database help question

  • Reading the path of a file in C# - URGENT!!
    P Phivos Stylianides

    I know it's a method and i'm asking if it's a predefined method in one of the imported namespaces and if yes which one?

    C# csharp database help question

  • Reading the path of a file in C# - URGENT!!
    P Phivos Stylianides

    Hi, i have tried this line in my project so i can get the path of the images for storing them later in the SQL table but it did not work: byte[] imageData = ReadFile(txtImagePath.Text); I get an error 'ReadFile' does not exist in the current context. In which class does this method belong? Thanks..

    C# csharp database help question
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups