|
In a vb.net 2010 web form application, I just installed a third party tool on my workstation and the install modified the web config file to add references to some new files that are being accessed. Now I am getting the following error message,
"Error 1 It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS".
Thus can you give me detailed directions on what I can do to solve this issue?
|
|
|
|
|
I've got a legacy password protected website written in php/xml that I would like to update some of the functionality. Currently, the administrator can create multiple Contract Vehicles (CV) and then create a Task Order (TO) that is linked to a specific contract vehicle. Fields such as TO name, number, description, etc. This information is then linked to a previously created CV via a dropdown list. Upon completion, the content is uploaded to a mysql database.
I'd like to make an enhancement where the site admin can upload a file (i.e., PDF, text, doc, jpeg, tiff, etc.) either when creating a TO or can be added later via an edit function to a specific TO. In both instances the file (file link path) would be displayed for the specific TO.
The TO information is displayed via three (3) different xml pages:
[TO LIST Code]
<form>
<subtitle>Task Order - File Attachments</subtitle>
<fields>
<_count header="No" suffix="." width="30" align="center" />
<tofiles_title header="Title" align="left" />
<tofiles_post_date header="Date" type="date" params="M j, Y" align="center" width="100" />
</fields>
<header>
<titles>true</titles>
<buttons>
<delete onclick="" button="addnew" >
<location>index.php?sub=tofiles&action=add&tofiles_relation={RELATION}&tofiles_type={TYPE}&returnurl={CURRENT_PAGE}</location>
</delete>
</buttons>
</header>
<vars>
<relation import="$_GET['sup_id'] ? $_GET['sup_id'] : $_GET['product_id']" type="eval" />
<type import="$_GET['sup_id'] ? '1' : '2'" type="eval" />
</vars>
<buttons>
<delete onclick="" button="delete" >
<location>javascript:if(confirm('Are you sure you want to delete this record ?')) window.location='index.php?sub=tofiles&action=delete&tofiles_id={NOTE_ID}&returnURL={CURRENT_PAGE}'</location>
</delete>
<details onclick="" button="details" >
<location>index.php?sub=tofiles&action=det&tofiles_id={TOFILES_ID}&returnurl={CURRENT_PAGE}</location>
</details>
</buttons>
<SQL>
<vars>
<sql_table import="$this->tables['tofiles']" type="eval"/>
<relation import="$_GET['sup_id'] ? $_GET['sup_id'] : $_GET['product_id']" type="eval" />
<type import="$_GET['sup_id'] ? '1' : '2'" type="eval" />
<sql_condition import="WHERE tofiles_type='{TYPE}' AND tofiles_relation='{RELATION}' " type="var"/>
</vars>
<query>SELECT * FROM `{SQL_TABLE}` {SQL_CONDITION} ORDER BY tofiles_post_date DESC</query>
</SQL>
<items>100</items>
</form>
[TO DETAILS Code (This is where the Admin/Users could select a link to download the attached file.]
<form>
<title>T/O Attachment Details</title>
<action>#</action>
<name>edit</name>
<width>580</width>
<formtag>true</formtag>
<border>true</border>
<buttons>
<set>
<footer>true</footer>
<header>true</header>
</set>
<return onclick="" button="return" >
<location>{PRIVATE.FORM_PREVIOUS_PAGE}</location>
</return>
<save onclick="" button="edit">
<location>index.php?sub=tofiles&action=edit&tofiles_id={TOFILES_ID}&returnurl={CURRENT_PAGE}</location>
</save>
</buttons>
<redirect>index.php?sub=users</redirect>
<vars>
<returnurl import="urldecode($_GET[returnURL])" type="eval" />
</vars>
<fields>
<user_id type="hidden" hidden="true"/>
<tofiles_title type="text">
<title>Title</title>
</tofiles_title>
<tofiles_body type="text" valign="top" font="normal">
<title>Description</title>
</tofiles_body>
<subtitle_log type="subtitle" title="Log Data" />
<tofiles_post_date type="text" action="date" params="F j, Y, g:i a">
<title>Post Date</title>
</tofiles_post_date>
<tofiles_post_ip type="text">
<title>Post Ip</title>
</tofiles_post_ip>
<tofiles_post_user type="relation">
<title>Post User</title>
<relation table="users" id="user_id" text="user_login" />
</tofiles_post_user>
</fields>
</form>
[FILE ATTACHMENT - Add/Edit (This is where the Admin would "upload" the file)]
<form>
<title>{PRIVATE.FORM_ACTION_TITLE} T/O - FFFile Attachments</title>
<action>index.php?sub=tofiles&action=store</action>
<name>edit</name>
<width>580</width>
<formtag>true</formtag>
<border>true</border>
<buttons>
<set>
<footer>true</footer>
<header>true</header>
</set>
<return onclick="" button="return">
<location>{PRIVATE.FORM_PREVIOUS_PAGE}</location>
</return>
<save onclick="" button="saveall">
<location>javascript:document.forms[0].submit();</location>
</save>
</buttons>
<redirect>index.php?sub=accounts</redirect>
<fields>
<tofiles_id type="hidden" hidden="true"/>
<tofiles_post_date type="hidden" default="time()" action="eval"/>
<tofiles_post_user type="hidden" default="$_SESSION[minibase][raw][user_id]" action="eval"/>
<tofiles_post_ip type="hidden" default="$_SERVER[REMOTE_ADDR]" action="eval"/>
<tofiles_relation type="hidden" default="$_GET[tofiles_relation]" action="eval"/>
<tofiles_type type="hidden" default="$_GET[tofiles_type]" action="eval"/>
<tofiles_title type="textbox" size="35" required="true" validate="A:2:200">
<title>Title</title>
</tofiles_title>
<tofiles_body type="textarea" size="60:5" required="true" validate="A:1:100000">
<title>Body</title>
</tofiles_body>
</fields>
</form>
Once uploaded the admin and other users would be able to select a file link and download the aforementioned document.
So, like I said, this is a legacy Website and I don't have a lot of experience in writing XML code, so I would appreciate anyone who could provide a little insight.
THX!
modified 29-Apr-15 16:52pm.
|
|
|
|
|
hi everyone! I am in web development and I am creating a online shopping site with java,hibernate,stursts,jsp and Oracle 10g as the back-end.I want to know that when I saved the products with its images in DB The list of products is showing all details but showing only image name rather than showing image.So please tell me how can I load images in listproduct.jsp page?
Thanks & regards
Aamir
|
|
|
|
|
I need to import a WORD document to the browser and allow the user to change the document by inserting bullets to be replaced with data from the database. After preparing the document, it is saved in the database as a model.
How can I do this? Is there any free solution for this?
Thank you for your help
|
|
|
|
|
Are you looking for something out-of-the-box, or want to write a full-flagged document editor in HTML/JavaScript?
Skipper: We'll fix it.
Alex: Fix it? How you gonna fix this?
Skipper: Grit, spit and a whole lotta duct tape.
|
|
|
|
|
Hi Peter, Thanks for responding.
I think that to write a full-flagged document editor in HTML/JavaScript spend a lot of time. Or not?
I think a package is better because we gain time.
|
|
|
|
|
|
Are you saying you want to extract the edited content and save that in the DB, or save the document as a whole?
Typically the best way to store files like that (doc, image, etc...) is not to put it in the database but rather to create a secure file share and save it there. Then you just save the file name or path in the DB.
You might want to consider a script based editor which uses RTF maybe, unless Word is a specific requirement.
|
|
|
|
|
I see some plugins or modules are sold only for one domain.
Can anyone explain me : How did they do license for one domain ? Can I install others domain which they don't know ?
My english isn't good.Sorry for this.
Thank you very much.
|
|
|
|
|
Hi,
I would like to ask what's the benefit of passing the session id in the url as I have seen many website does it? and what are the possible use of it when it's in the url?
Thanks,
Jassim[^]
Technology News @ www.JassimRahma.com
|
|
|
|
|
|
I just completed front end programming and wanted to delve into back end. However there's a lot of confusion in class and from blogs and would like more clarity.
My question is, what do specific back end languages do and which should i start with and avoid replicating learning languages with same task....
Like does PHP, java, ruby and Python serve the same purpose and does learning one encapsulate the functionalities of others?
Or which one should i combine to get the most out of web development?
kindly assist me out. im literally stuck and
|
|
|
|
|
This is probably a question u've heard a million and seven times but would like a one to one chat with a professional wed designer/web Developer on areas im getting stuck at... which i presume is the goal of this forum!!
My research showed that the best place to start is CSS and HTML. I however want to get the bigger picture on what specific languages do both in the server side and client side, how this languages link with each other, which languages compete (to avoid learning languages with same functions), Best SDKs to start with and peripheral skills and languages that aid in the general output of a quality website....
Thank you in advance.
|
|
|
|
|
my website is http://aimwap.com and I use that many advance code but now it's slow.. what can i do..??
|
|
|
|
|
First, do some investigation into why it is slow. You cannot expect anyone here to guess.
|
|
|
|
|
can any one help me find source code for this please
|
|
|
|
|
|
Hi,
I am trying to OUTPUT using PDO and MySQL but getting this error:
Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1414 OUT or INOUT argument 7 for routine bizcards.sp_subscribe is not a variable or NEW pseudo-variable in BEFORE trigger' in /home/meskholdings/aromaexpress/web/send_subscription.php:27 Stack trace: #0 /home/meskholdings/aromaexpress/web/send_subscription.php(27): PDOStatement->execute() #1 {main} thrown in /home/meskholdings/aromaexpress/web/send_subscription.php on line 27
this is my code:
$mysql_query = $mysql_connection->prepare('CALL sp_subscribe(:param_first_name, :param_last_name, :param_birthday, :param_mobile, :param_email, :param_created_ip, :param_promotion_code)');
$mysql_query->bindParam(':param_first_name', $first_name, PDO::PARAM_STR);
$mysql_query->bindParam(':param_last_name', $last_name, PDO::PARAM_STR);
$mysql_query->bindParam(':param_birthday', $borthday, PDO::PARAM_STR);
$mysql_query->bindParam(':param_mobile', $mobile_number, PDO::PARAM_STR);
$mysql_query->bindParam(':param_email', $email_address, PDO::PARAM_STR);
$mysql_query->bindParam(':param_created_ip', $_SERVER['REMOTE_ADDR'], PDO::PARAM_STR);
$mysql_query->bindParam(':param_promotion_code', $promotion_code, PDO::PARAM_STR|PDO::PARAM_INPUT_OUTPUT);
$mysql_query->execute();
$data = $promotion_code;
Thanks,
Jassim[^]
Technology News @ www.JassimRahma.com
|
|
|
|
|
I have a 50 Websites and these websites have one common page named enquiry.html these are static websites. i want to add a single line of code on these 50 websites simultaneously via js, jquery or php is there any way?
I want to add a code on these website so that it will take a few minutes .
PLz reply with example or demo.
|
|
|
|
|
Message Closed
modified 9-Apr-15 11:24am.
|
|
|
|
|
Imagine you have a bunch of photos and you want to share them. Its a just random photos taken from mobile phone (Landscape and normal ). You want to upload all that photos on one page. That page will just have the photos of you nothing else. (No links, text anything ).
Something like this
( no matter i can go through ftp and upload photos but i want them to looks like this ) this is example for few photos
Picture[^]
|
|
|
|
|
What is your question?
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
How to make something like this ?
|
|
|
|
|
t3cho wrote: How to make something like this ? That depends on where the information is stored and how it is displayed: Web page, Windows Form, Mobile/Tablet etc.
|
|
|
|
|
I will add those photos once. I can go through code or ftp or any other way.
Its something like portolio. Those pictures will be added just once.
|
|
|
|